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

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

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 2.08

Subject: nytprof fails on Win32, tries to create illegally-named files
Download (untitled) / with headers
text/plain 702b
When I execute nytprofhtml, it tries to generate a HTML report based on the path to the directory that the profiler was run in. The result is a failure like the following Unable to open nytprof/ for writing: No such file or directory When generating the report on Win32, you'll need to normalise out all of the characters that are illegal on Windows filesystems. The list of banned characters is qw{ / \ : * ? " < > | } but the only one you are likely to have a problem with is the colon, because it is legal in the full filesystem path, but illegal in a file or directory name. So you'll need to just add a s/:/_/ in the file name generator.
Thanks. Resolved in r688.

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

Please report any issues with to