Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How the auto-increment operator works?

by ikegami (Patriarch)
on Jul 31, 2020 at 13:47 UTC ( [id://11120139]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $x = 99;
    ++$x;
    
  2. or download this
    $x = 99;
    ++$x;
    $x %= 100;
    
  3. or download this
    $x = 'zz';
    ++$x;
    $x = substr($x, -2);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-26 00:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found