Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
perlman:B::Showlexby root (Monk) |
on Dec 23, 1999 at 00:50 UTC ( [id://1161]=perlfunc: print w/replies, xml ) | Need Help?? |
B::ShowlexSee the current Perl documentation for B::Showlex. Here is our local, out-dated (pre-5.6) version: B::Showlex - Show lexical variables used in functions or files
perl -MO=Showlex[,SUBROUTINE] foo.pl
When a subroutine name is provided in OPTIONS, prints the lexical variables used in that subroutine. Otherwise, prints the file-scope lexicals in the file.
AUTHOR
Malcolm Beattie, |
|