Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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
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 about the Monastery: (9)
As of 2014-07-11 03:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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








    Results (217 votes), past polls