Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 chanting in the Monastery: (13)
As of 2014-09-30 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (373 votes), past polls