Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Joining Arrays?

by pKai (Priest)
on Dec 21, 2008 at 17:26 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://731900]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found