Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 58283
Status: resolved
Priority: 0/
Queue: devel-nytprof

Owner: Nobody in particular
Requestors: me [...]

Bug Information
Severity: Normal
Broken in: 4.00
Fixed in: (no value)

Subject: String eval source code not available on perl 5.8
Download (untitled) / with headers
text/plain 407b
Devel::NYTProf 4.00 don't print source code of string evals in source code for perl 5.8, even when I enable use_db_sub=1 option, as noted in savesrc documentation. Simple script and nytprof.out file attached. nytprof.out was generated with this command: $ NYTPROF=use_db_sub=1 perl -d:NYTProf abc Code versions: Devel-NYTProf: 4.00 perl: 5.8.8 (native perl from Ubuntu Hardy) OS: Ubuntu Hardy x86_64
text/x-perl 70b
#!/usr/bin/perl my $sub = eval q[sub { print "abc\n" } ]; $sub->();
Subject: nytprof.out
Download nytprof.out
application/octet-stream 672b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 285b
You'll need 5.8.9 (or 5.10.1 or 5.12+) to see the eval source code. I'm sorry for any confusion. I wasn't clear on it myself. I've updated the blog post and clarified the docs and report comment for the next release. See

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to