Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Range operator weirdness?

by PrakashK (Pilgrim)
on Feb 28, 2002 at 15:13 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found