Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Splitting arrays

by jnyman (Acolyte)
on Jun 04, 2013 at 12:24 UTC ( #1036963=note: print w/ replies, xml ) Need Help??


in reply to Splitting arrays

Suggestion:

my $val_str = join "\n" => @values; my @latitudes = $val_str =~ /(.*),/g; my @longitudes = $val_str =~ /,(.*)/g;


Comment on Re: Splitting arrays
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2015-04-28 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (515 votes), past polls