Skip Menu |

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 56316
Status: resolved
Priority: 0/
Queue: autodie

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

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



Subject: problem with truncate
#perl -c -Mstrict -Mautodie=truncate -e 'truncate(F,0)' Bareword "F" not allowed while "strict subs" in use at -e line 1. #perl -c -Mstrict -e 'truncate(F,0)' -e syntax OK See also http://rt.perl.org/rt3/Ticket/Display.html?id=3311 -- Alexandr Ciornii, http://chorny.net
On Tue Apr 06 10:36:59 2010, CHORNY wrote: Show quoted text
> #perl -c -Mstrict -Mautodie=truncate -e 'truncate(F,0)' > Bareword "F" not allowed while "strict subs" in use at -e line 1. > > #perl -c -Mstrict -e 'truncate(F,0)' > -e syntax OK > > See also http://rt.perl.org/rt3/Ticket/Display.html?id=3311 >
Hi, This is caused by "prototype(q{CORE::truncate))" returning "$$". At the current time, I am not sure we can fix this in autodie. ~Niels
Ticket migrated to github as https://github.com/pjf/autodie/issues/97