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: 87404
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: MORITZ [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 5.05
Fixed in: (no value)



Subject: Devel::NYTProf tries to write a nytprof.out even if start=no is set (and dies if directory not writable)
Consider this small script: use 5.014; use strict; use warnings; use autodie; unlink 'nytprof.out' if -e 'nytprof.out'; BEGIN { $ENV{NYTPROF} = 'start=no'; } require Devel::NYTProf; say "OH NOE" if -e 'nytprof.out'; __END__ OH NOE Says "OH NOE" each time I run it. That's very annoying, because in my use case, the current directory isn't writable, and I want to supply a different file name later with DB::enable_profile($filename), but it already dies on the require.
Fixed in 89746df. Thanks!