Skip Menu |
Report information
Id: 1458
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors:
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: docs
Perl Version: (no value)
Fixed In: (no value)



Download (untitled) / with headers
text/plain 844b
The following struck me as kindof inconsistent: $ perl -cwe 'use strict; use integer; foo(-bar => "baz");' Argument "bar" isn't numeric in i_negate at -e line 1. $ perl -cwe 'use strict; foo(-bar => "baz");' $ # no such warning The former doesn't make much sense 'cause Perl should know that the thing on the left-hand side of => isn't required to be a number. Lot of code (for example, heaps of examples in the CGI documentation) thus fails under "use integer". That's a Bad Thing, IMHO. I'd fix it myself, but I'm not familiar enough with Perl's innards. :-( -- Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661 The quote was selected randomly. Really. | http://www.noris.de/~smurf/ -- With a rubber duck, one's never alone. -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"


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

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org