Shows lexical variables used in functions or files. Invoke as:
Ifperl -MO=Showlex[,sub] filename
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
.Copyright © 2001 O'Reilly & Associates. All rights reserved.