Skip Menu |

This queue is for tickets about the Parallel-PreForkManager CPAN distribution.

Report information
The Basics
Id: 123544
Status: resolved
Priority: 0/
Queue: Parallel-PreForkManager

People
Owner: mbradshaw [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.20170417
Fixed in: (no value)



Subject: Minor documentation issues
The code from the SYNOPSIS almost works as is, if "use English" is added to the top, except for: Can't use string ("Printed 0 in 10739") as a HASH ref while "strict refs" in use at ... There's a discrepancy between the return value in WorkHandler (it's a string) and what's expected in CallbackHandler (it's a hash with a Data value). Probably the return value should be something like { Data => "Printed $Val in $PID" }. Also, it would be nice to mention that the data between worker and parent is serialized using JSON.pm, as the serializer restricts the possible data types (e.g. blessed objects and regexps cannot be serialized with JSON).
Thanks, will be fixed in next release.