http://www.perlmonks.org?node_id=278031


in reply to Re: recursive complex structure or something like that?
in thread recursive complex structure or something like that?

= split ' ', $line, -3;

You almost certainly want

= split ' ', $line, 3;
not -3.

-sauoq
"My two cents aren't worth a dime.";