Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Whats with the autoincrementation of a string

by bingalee (Acolyte)
on Jun 14, 2013 at 18:50 UTC ( #1039016=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    $a = "Zz"; print ++$a, "\n";
    $a = "z9"; print ++$a, "\n";
    $a = "9z"; print ++$a, "\n";
    
  2. or download this
    >perl auto2.plx
    B0
    ...
    aa0
    10
    >
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1039016]
Approved by muba
Front-paged by MidLifeXis
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-09-28 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (516 votes). Check out past polls.