Skip Menu |
 

This queue is for tickets about the autodie CPAN distribution.

Report information
The Basics
Id: 56316
Status: open
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
Download (untitled) / with headers
text/plain 275b
#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
Download (untitled) / with headers
text/plain 439b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.