Skip Menu |

This queue is for tickets about the Test-Text CPAN distribution.

Report information
The Basics
Id: 95693
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Test-Text

People
Owner: JMERELO [...] cpan.org
Requestors: ether [...] cpan.org
Cc:
AdminCc:

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



Subject: Uses File::Slurp, known to be buggy and vulnerable
e.g. look at https://rt.cpan.org/Ticket/Display.html?id=83126 and be dismayed File::Slurp::Tiny and Path::Tiny are both excellent alternatives.
El Jue May 15 16:09:57 2014, ETHER escribió: Show quoted text
> e.g. look at https://rt.cpan.org/Ticket/Display.html?id=83126 and be > dismayed > > File::Slurp::Tiny and Path::Tiny are both excellent alternatives.
Changed to File::Slurp::Tiny in version 0.1.8, which will appear soon. Thanks for the suggestion. But do you really think it's that bad? JJ
On Sat Aug 16 06:56:21 2014, JMERELO wrote: Show quoted text
> El Jue May 15 16:09:57 2014, ETHER escribió:
> > e.g. look at https://rt.cpan.org/Ticket/Display.html?id=83126 and be > > dismayed > > > > File::Slurp::Tiny and Path::Tiny are both excellent alternatives.
> > > Changed to File::Slurp::Tiny in version 0.1.8, which will appear soon. > Thanks for the suggestion. But do you really think it's that bad?
I have the internals filed under "CANNOT UNSEE AAAAAAAAAAAAAAAAA"
On Sat Aug 16 12:56:21 2014, JMERELO wrote: Show quoted text
> But do you really think it's that bad?
So ether doesn't have to do a "yes i meant the thing i said": Yes, it really is that bad. Almost every other choice is better. :)
El Sáb Ago 16 12:13:15 2014, MITHALDU escribió: Show quoted text
> On Sat Aug 16 12:56:21 2014, JMERELO wrote:
> > But do you really think it's that bad?
> > So ether doesn't have to do a "yes i meant the thing i said": Yes, it > really is that bad. Almost every other choice is better. :)
Biggest bug of all then is in the Perl FAQ http://perldoc.perl.org/perlfaq5.html#How-can-I-read-in-an-entire-file-all-at-once? Too much work to go module by module telling people to fix it. I do use it in most of my modules, in fact... Will have to change it. Fortunately, switch to File::Slurp::Tiny is painless.