Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 surveying the Monastery: (9)
As of 2014-09-02 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls