Perl compiler backend that generates a cross-reference listing of variables, subroutines, and formats in a Perl program. Results are grouped by file, then subroutine, then package, then objects within the package with line numbers. The line numbers are given as a comma-separated list. A line number may be preceded by one of the following code letters:
Code |
Meaning |
---|---|
% |
Subroutine or method call |
f |
Format definition |
i |
Introduction, e.g., a lexical defined with my |
s |
Subroutine definition |
Invoke B::Xref like this:
perl -MO=Xref[,options] program
program is the Perl program whose cross-reference you want. Options are separated by commas and follow normal backend option conventions. The possible options are:
Copyright © 2002 O'Reilly & Associates. All rights reserved.