Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: dump a string into array

by Utilitarian (Vicar)
on Sep 23, 2010 at 09:24 UTC ( [id://861489]=note: print w/replies, xml ) Need Help??


in reply to dump a string into array

Hi Anon, First of all $stemmed_words is an array reference to the word stems array derived from the module.

Second

my @words_and_stems= (\@words , $stemmed_words);
gives you both arrays in a single structure;

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re^2: dump a string into array
by Anonymous Monk on Sep 23, 2010 at 11:53 UTC
    Thank you!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2024-04-25 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found