Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: Re: Splitting Array with Variable Spaces

by Shendal (Hermit)
on Nov 02, 2000 at 23:39 UTC ( #39729=note: print w/ replies, xml ) Need Help??


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


Comment on RE: Re: Splitting Array with Variable Spaces
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://39729]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2015-07-08 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (96 votes), past polls