Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036963]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2017-04-30 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (535 votes). Check out past polls.