Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Equivalency of Code

by ambrus (Abbot)
on Feb 07, 2005 at 10:28 UTC ( #428615=note: print w/replies, xml ) Need Help??


in reply to Equivalency of Code

perl -we '$x = "a"; $x++; print $x, "\n";' ==> b

perl -we '$x = "a"; $x += 1; print $x, "\n";' ==> 1 with a warning.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-10-24 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?