in reply to Running Lingua::En::Keywords against an array

If it is expecting a scalar then just pass a scalar from the list repeatedly

Am i missing something?

foreach $text (@raw_power) { my @keywords = keywords($text); map { print; } @keywords; }
Update: After reading tlm's post it makes more sense on what the OP requested.

Thanks!

Replies are listed 'Best First'.
Re^2: Running Lingua::En::Keywords against an array
by Thelonius (Priest) on Jul 07, 2005 at 23:44 UTC
    This is probably not what he wants. If a keyword appeared on 100 different lines, this would output it 100 times.