Do you know where your variables are? | |
PerlMonks |
Re: dump a string into arrayby Utilitarian (Vicar) |
on Sep 23, 2010 at 09:24 UTC ( [id://861489]=note: print w/replies, xml ) | Need Help?? |
Hi Anon,
First of all $stemmed_words is an array reference to the word stems array derived from the module.
Second gives you both arrays in a single structure;
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|