Skip Menu |

This queue is for tickets about the Games-RolePlay-MapGen CPAN distribution.

Report information
The Basics
Id: 124345
Status: open
Priority: 0/
Queue: Games-RolePlay-MapGen

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

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



Subject: Embedded nul in filenames needs updated handling
Please see the discussion in this ticket in the Perl 5 bug queue: https://rt.perl.org/Ticket/Display.html?id=132822
On Tue Feb 06 18:31:28 2018, JKEENAN wrote: Show quoted text
> Please see the discussion in this ticket in the Perl 5 bug queue: > > https://rt.perl.org/Ticket/Display.html?id=132822
Here are suggestions on how to fix it (noted in the discussion on p5p): * check for nul in the string before -f, always treating nul-containing strings as data strings; * discriminate between pathnames and data entirely based on looking like a data string, with no -f check at all; * suppress that category of warning in some narrow scope around -f; * drop the dual-use interface in favour of separate interfaces for pathnames and data strings.