Skip Menu |

This queue is for tickets about the Time-Format CPAN distribution.

Report information
The Basics
Id: 121367
Status: resolved
Priority: 0/
Queue: Time-Format

Owner: eric.roode.cpan [...]
Requestors: PLICEASE [...]

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

Subject: Time::Format is not fork safe
Download (untitled) / with headers
text/plain 615b
I think this may be related to rt#74880, but honestly I didn't quite understand what the reporter for that issue was getting at. Very simple and easy to reproduce with this one-liner: % perl -MTime::Format -E 'fork(); Time::Format::time_format()' Goto undefined subroutine &Time::Format::time_format_perlonly at /usr/local/lib/perl/Time/ line 79, <DATA> chunk 1. If you call time_format() BEFORE the fork then it works just fine. I think this maybe because the DATA file handle is shared and which ever process gets there first slurps the whole thing in and so it is not available to the other process.
Download (untitled) / with headers
text/plain 104b
I believe this problem to be fixed. At least the test case submitted by the bug reporter now succeeds.

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

Please report any issues with to