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
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 275
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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-22753-1381658178-31.56316-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 439
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.