Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Declaring an Array Using Character Classes

by kcott (Abbot)
on Nov 27, 2012 at 08:49 UTC ( #1005814=note: print w/ replies, xml ) Need Help??


in reply to Declaring an Array Using Character Classes

G'day simpzoid,

Perhaps something like this:

$ perl -Mstrict -Mwarnings -e ' my @arry = ("a" .. "z", 0 .. 9); print "@arry\n"; ' a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 +9

-- Ken


Comment on Re: Declaring an Array Using Character Classes
Download Code
Replies are listed 'Best First'.
Re^2: Declaring an Array Using Character Classes
by simpzoid (Novice) on Nov 27, 2012 at 08:52 UTC
    Wow, thanks for the quick reply. That worrks for me.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-28 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls