in reply to Re^4: NYTProf line report failure
in thread NYTProf line report failure
sub filename_without_inc {
my $self = shift;
my $f = [$self->filename];
warn $self->filename;
These warnings lead me to believe the problem is not in my code:
Reading nytprof.out Processing nytprof.out data collapse_sibling_evals: nested evals in (eval 656)[/ExtUtils/MM_Unix.pm:2920] not handled at /Devel/NYTProf/FileInfo.pm line 291. collapse_sibling_evals: nested evals in (eval 2695)[/Module/Metadata.pm:13] not handled at /Devel/NYTProf/FileInfo.pm line 291.Here are the results with my added warn:
Here's line 13 of Module::Metadata:98% ... (eval 657)[(eval 656)[/ExtUtils/MM_Unix.pm:2920]:1] at /Devel/ +NYTProf/FileInfo.pm line 431. (eval 657)[(eval 656)[/ExtUtils/MM_Unix.pm:2920]:1] at /Devel/NYTProf/ +FileInfo.pm line 431. Warning: something's wrong at /Devel/NYTProf/FileInfo.pm line 431. 99% ... (eval 2699)[(eval 2698)[/Module/Metadata.pm:13]:6] at /Devel/N +YTProf/FileInfo.pm line 431. (eval 2699)[(eval 2698)[/Module/Metadata.pm:13]:6] at /Devel/NYTProf/F +ileInfo.pm line 431. Warning: something's wrong at /Devel/NYTProf/FileInfo.pm line 431.
sub __clean_eval { eval $_[0] }
Here's line 2921 of ExtUtils::MM_Unix (right after strict is disabled on line 2917,
and warnings are disabled on line 2919):
eval($line); ## no critic
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: NYTProf line report failure
by swl (Prior) on Mar 15, 2020 at 04:12 UTC | |
by Anonymous Monk on Mar 15, 2020 at 17:19 UTC | |
by bliako (Abbot) on Mar 15, 2020 at 17:30 UTC | |
by Anonymous Monk on Mar 15, 2020 at 18:11 UTC | |
by swl (Prior) on Mar 15, 2020 at 22:09 UTC | |
| |
by bliako (Abbot) on Mar 15, 2020 at 21:17 UTC | |
by Anonymous Monk on Mar 15, 2020 at 18:32 UTC | |
|