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

People
Owner: Nobody in particular
Requestors: me [...] berekuk.ru
Cc:
AdminCc:

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



Subject: String eval source code not available on perl 5.8
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 1.pl abc Code versions: Devel-NYTProf: 4.00 perl: 5.8.8 (native perl from Ubuntu Hardy) OS: Ubuntu Hardy x86_64
Subject: 1.pl
#!/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.

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 http://code.google.com/p/perl-devel-nytprof/source/detail?r=1295