qw( a b c )
is equivalent to
( split(' ', ' a b c ') )
so what you want is
my @words = split(' ', $text);
In reply to Re: using a string or file in qw
by ikegami
in thread using a string or file in qw
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |