in reply to Re: Splitting Array with Variable Spaces
in thread Splitting Array with Variable Spaces
Try splitting on /\s+/. For example:
Cheers,
Shendal
foreach $item(@sorted){ @new=split(/\s+/,$item); print $new[13]; if($new[13] > $new [10]){ print $item; }
Cheers,
Shendal
|
---|
In Section
Seekers of Perl Wisdom