Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Joining Arrays?

by pKai (Priest)
on Dec 21, 2008 at 17:26 UTC ( #731900=note: print w/replies, xml ) Need Help??


in reply to Re^3: Joining Arrays?
in thread Joining Arrays?

If the map BLOCK is more complicated than [insert personal threshold here], or they are nested I just declare the variable myself.

@joined = map { my $url = $_; map { my $code = $_; $url . $code; } @codes } @urls;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2016-12-08 01:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.