Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 examining the Monastery: (8)
As of 2014-09-23 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (219 votes), past polls