Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
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 scrutinizing the Monastery: (2)
As of 2020-02-23 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (102 votes). Check out past polls.

    Notices?