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


in reply to Re: Splitting Array with Variable Spaces
in thread Splitting Array with Variable Spaces

Try splitting on /\s+/. For example:
foreach $item(@sorted){ @new=split(/\s+/,$item); print $new[13]; if($new[13] > $new [10]){ print $item; }


Cheers,
Shendal