develooper Front page | perl.perl5.porters | Postings from February 2018

Re: [perl #132822] Blead Breaks CPAN:JETTERO/Games-RolePlay-MapGen-1.5008.tar.gz

Thread Previous | Thread Next
February 8, 2018 12:26
Re: [perl #132822] Blead Breaks CPAN:JETTERO/Games-RolePlay-MapGen-1.5008.tar.gz
Message ID:
Sawyer X wrote:
>Any chance you could provide a suggestion on how to cleanly resolve it
>so we could communicate that to the module author?

There are many options:

* 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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About