I can't provide a sscce because it's a very large module.
I was using 6.05 but upgraded to 6.06 after your inquiry. It still
fails with the same errors except one minor difference I don't
understand (2695 -> 2698):
collapse_sibling_evals: nested evals in (eval 2695)
collapse_sibling_evals: nested evals in (eval 2698)
Debugging nytprof is over my head but I can see from the
comments around line 430 in /Devel/NYTProf/FileInfo.pm that
someone anticipated problems. How would you patch this?
# Should return the filename that the application used when loading th
+e file
# For evals should remove the @INC portion from within the "(eval N)[$
+path]"
# and similarly for Class::MOP #line evals "... defined at $path".
# This is a bit of a fudge. Filename handling should be improved in th
+e profiler.
sub filename_without_inc {
my $self = shift;
my $f = [$self->filename];
strip_prefix_from_paths([$self->profile->inc], $f, # line 430
qr/(?: ^ | \[ | \sdefined\sat\s )/x
);
return $f->[0];
}
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.