Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.16 B::LintChapter 8
Standard Modules
Next: 8.18 B::Stackobj
 

8.17 B::Showlex

Shows lexical variables used in functions or files. Invoke as:

perl -MO=Showlex[,sub] filename
If sub is provided and is the name of a subroutine in file filename, B::Showlex prints the lexical variables used in that subroutine. Otherwise, it prints the file-scope lexicals in filename.


Previous: 8.16 B::LintPerl in a NutshellNext: 8.18 B::Stackobj
8.16 B::LintBook Index8.18 B::Stackobj

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.