Tom Roche wrote:

> * I'm looking for information about user-defined variables and
>   subroutines, esp about the calling of user-defined subroutines
>   within the definitions of user-defined subroutines (which I call
>   "call-charting"). B::Xref tells me about _everything_: UNIVERSAL,
>   Win32 (a package we never use, which I assume is there courtesy of
>   ActiveState, the Perl from which I'm looking at the files), Carp,
>   etc. I'd like to be able to bound the files/packages about which it
>   reports.

So ignore the files you don't care about.

>   More importantly, sometimes Xref seems to "go off the rails"
>   entirely, e.g. (hoping this crashes no mailers)

So chop everything in the name from the first NUL on.

> * I'd _really_ like for Xref to write to data structures, a la
>   Symdump, rather than text. That would greatly ease report
>   configuration.

So look at the output of

        perl -MO=Xref,-r myprog.pl

which outputs:
        filename
        line number
        package (or "(lexical)")
        type ($@&)
        name
        used/subused/subdef, etc.

in a nice one-line-per-record format.

-- 
Ned Konz
currently: Stanwood, WA
email:     [EMAIL PROTECTED]
homepage:  http://www.bike-nomad.com

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to