I'm not having any luck profiling a script that uses Text::CSV, and when I shorten it to just my "use" I get the following:
$ perl -d:DProf -e 'use Text::CSV'
Can't call method "0" without a package or object reference at -e line
+ 1.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Funny thing is that its just fine with a "require":
$ perl -d:DProf -e 'require "/opt/perl/lib/site_perl/5.8.8/Text/CSV.pm
+"'
Anybody got any ideas why this might be failing? Normally I'd just start up the debugger to see where its failing, but I'm not where to start in this case. Here are my versions:
This is perl, v5.8.8 built for alpha-dec_osf-thread-multi
$Devel::DProf::VERSION = '20050603.00'
$Text::CSV::VERSION = '1.10';
Thanks for the help!