package LeakTest1; use B::LexInfo (); sub test { my ($string) = @_;} my $lexi = B::LexInfo->new; my $diff = $lexi->cvrundiff('LeakTest1::test', "a string"); print $$diff;