Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Increment avoids warning unexpectedly

by Hue-Bond (Priest)
on Jun 23, 2006 at 22:00 UTC ( #557335=note: print w/replies, xml ) Need Help??


in reply to Re: Increment avoids warning unexpectedly
in thread Increment avoids warning unexpectedly

non-numeric strings are legal arguments for ++

++ works even on undefined values:

$ /usr/bin/perl -le'print $a++' 0

--
David Serrano

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://557335]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-05-17 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?