Rob Dixon wrote:
>
>  my @data = map { tr/%//d; [split] } split /\n/, $str;
>

A little late maybe, but...

Why do you have the second (in the order of operation) split operator in brackets? 
Shouldn't it just split $_ on whitespace if no arguments are given?

- Jan
-- 
If all else fails read the instructions. - Donald Knuth

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to