Tom Roche wrote: >> I'm trying to use Devel::Symdump to document code Ned Konz <[EMAIL PROTECTED]> 5/9/00 2:33:35 PM >>> > Did you try B::Xref yet? Yes, but perhaps I should try it again--at least it does something! Basically I tried Xref, had some problems (below), and got the suggestion to try Symdump. That made sense to me, since that's what mod_perl uses for Apache::Status. This hasn't worked so far :-( The problems I had with B::Xref, and with which I'd appreciate assistance, are essentially with its verbosity, or perceived lack of configurability (or both). I sense I'll just write another script to pretty-up Xref's output (to get it "just as <I feel> is should be") but perhaps this can be avoided. * 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. * As http://www.cpan.org/doc/manual/html/lib/B/Xref.html puts it: > BUGS > Non-lexical variables are quite difficult to track through a > program. Sometimes the type of a non-lexical variable's use is > impossible to determine. Introductions of non-lexical non-scalars > don't seem to be reported properly. More importantly, sometimes Xref seems to "go off the rails" entirely, e.g. (hoping this crashes no mailers) > File c:/Perls/ActivePerl522/lib/Cwd.pm <big snip> > Subroutine Cwd::chdir > Package (lexical) > $chdir_init 182 > $component i191, 193, 194, 195 > $newdir i180, 181, 183, 186, 186, 192 > @curdir^@^@^@^@^@^@^@^@^@^@^@^@^@ÿÿÿÿÿÿÿÿ^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@ ^@^@^@Ð×ã > ^@à×ã^@^@^@^@^@ ^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@ÀÓã^@^@^@^@^@^@ > ^@^@^@^@^@^@^@^@^@\200^@pÖã^@^@^@^@^@\234^@^@^@Þ ^@ /^@^@Þ^ > @^@^@^@^@^@^@ÀÕã^@ ^@^@^@ ^@^@^@#^@^@^@ Øã^@ Ùã^@\220½ ^@^@ > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@#5 ^@^@^@^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@ > i189, 190, 190, 194, 195, 197 Note that the original had the raw text, i.e. rather than "^@" it had the null character. Not too happy! * I'd _really_ like for Xref to write to data structures, a la Symdump, rather than text. That would greatly ease report configuration. Any assistance working around these problems, or finding "the right way to do this," would be appreciated. Please reply directly to me as well as the list/group, and TIA, [EMAIL PROTECTED] --- 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]