Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Range operator weirdness?

by PrakashK (Pilgrim)
on Feb 28, 2002 at 15:13 UTC ( #148234=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        @next{'0'..'9','A'..'Z'}= ('1'..'0','A'..'Z','0');
    
  2. or download this
    >> perl -MO=Deparse -le '@x = (0 .. 9)'
    @x = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    ...
    
    >> perl -le 'print "1" > "0" ? "yes" : "no"'
    yes
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (14)
As of 2014-08-29 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (282 votes), past polls