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!