Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Increment avoids warning unexpectedly

by MonkE (Hermit)
on Jun 07, 2006 at 17:07 UTC ( [id://554093]=note: print w/replies, xml ) Need Help??


in reply to Increment avoids warning unexpectedly

The autoincremenet operator is "magical", see perlman:perlop for more details. Try adding the following code to your test program to see the magic at work:
$m="acb"; print ++$m; # Prints acc, as expected (according to perlop) # and throws no warning ... wierd huh?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-28 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found