You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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"
Migrated from rt.perl.org#1458 (status was 'resolved')
Searchable as RT1458$
The text was updated successfully, but these errors were encountered: