Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 exploiting the Monastery: (16)
As of 2014-12-19 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (88 votes), past polls