I got the following error message when debugging a perl script.
“dumpvar.pl not available”
I can enter into debug mode, but when I use the x command to check a variable’s value, the error message show up, what’s wrong?
my perl version as below
This is perl, v5.8.8 built for sun4-solaris
my OS info as below
SunOS 5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-V440
Have you dropped the equivalent of /usr/lib/perl/perl-5.16.0/lib/5.16.0 from @INC? If that’s not there, then the debugger can’t run it to get the ‘x’ output.
Let’s check your Perl install:
If that works, you’ve bollixed up your @INC somehow in the program you’re trying to debug. In the same debugger session:
will print out the directory dumpvar.pl lives in, and you can check @INC in the program you’re trying to debug to see if the @INC entry for that library has been dropped.
If the ‘x’ command above doesn’t work, and you get something like
then you have a broken Perl and need to either install it yourself (perlbrew is very handy for this) or talk to your system administrator about it.