James E Keenan on 17 Jan 2004 01:30:31 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Perl call tree utility


On Fri, 16 Jan 2004 17:17:17 -0500, Mark Dominus wrote:
>
> I gave up on CPAN and wrote one.  It requires the B::Utils module.
> To use, do
> perl -MCalltree yourprogram.pl
>
>
Trying this on Win32, I first downloaded B::Utils from CPAN and 
successfully installed it.  I then placed Calltree.pm in the following 
directory:  C:/Perl/usr/lib   (which is where I install all modules not 
installed through a makefile-type process).

I then switched to the directory where I'm currently developing a 
program called 'dig.pl' and typed at the command line:

  perl -I"C:/Perl/usr/lib" -MCalltree dig.pl

I got the following error message:

  Can't locate object method "STASH" via package "B::SPECIAL" (perhaps 
you forgot to load "B::SPECIAL"?) at C:/Perl/usr/lib/Calltree.pm line 
97.
INIT failed--call queue aborted.

line 97 appears to be:

      push @$dest, join '::', $cur_gv->STASH->NAME, $cur_gv->NAME; 

What's going wrong?

jimk


-
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**