Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 taking refuge in the Monastery: (8)
As of 2014-07-10 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls