Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Declaring an Array Using Character Classes

by kcott (Archbishop)
on Nov 27, 2012 at 08:49 UTC ( [id://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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1005814]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found