in reply to Re^2: NYTProf line report failure
in thread NYTProf line report failure
One thing is sure, $self->profile returns undef. Just a wild guess: strip_prefix_from_paths() removes the ABC::XYZ from ABC::XYZ::myscript from the filename string. Or something to that effect, the ABC::XYZ is taken from your @INC I guess. I also guess that it's likely the eval refers to eval'ing some require'd modules. You could change the code like: [defined($self->profile) ? $self->profile->inc : () ], that is, give it an empty @INC if profile is undefined.
However, something must be seriously wrong in your usage and right now you are the only one who can fix that, the rest of us we are just guessing wildly. So, reduce this problem to a minimum. Also, show the versions of all modules involved.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: NYTProf line report failure
by swl (Parson) on Mar 13, 2020 at 01:40 UTC | |
by Anonymous Monk on Mar 14, 2020 at 07:12 UTC | |
by swl (Parson) on Mar 15, 2020 at 04:12 UTC | |
by Anonymous Monk on Mar 15, 2020 at 17:19 UTC | |
by bliako (Monsignor) on Mar 15, 2020 at 17:30 UTC | |
| |
Re^4: NYTProf line report failure
by Anonymous Monk on Mar 12, 2020 at 18:16 UTC | |
by bliako (Monsignor) on Mar 12, 2020 at 21:01 UTC | |
by Anonymous Monk on Mar 13, 2020 at 19:05 UTC | |
by swl (Parson) on Mar 13, 2020 at 22:16 UTC |