B::Xref - Generates cross reference reports for Perl programs
The report generated is in the following format:
File filename1 Subroutine subname1 Package package1 object1 line numbers object2 line numbers ... Package package2 ...
Each File section reports on a single file. Each Subroutine section reports on a single subroutine apart from the special cases ``(definitions)'' and ``(main)''. These report, respectively, on subroutine definitions found by the initial symbol table walk and on the main part of the program or module external to all subroutines.
The report is then grouped by the Package of each variable, subroutine or format with the special case ``(lexicals)'' meaning lexical variables. Each object name (implicitly qualified by its containing Package) includes its type character(s) at the beginning where possible. Lexical variables are easier to track and even included dereferencing information where possible.
The "line numbers" are a comma separated list of line numbers (some preceded by code letters) where that object is used in some way. Simple uses aren't preceded by a code letter. Introductions (such as where a lexical is first defined with "my") are indicated with the letter ``i''. Subroutine and method calls are indicated by the character ``&''. Subroutine definitions are indicated by ``s'' and format definitions by ``f''.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |