Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Appending one array onto another

by TomDLux (Vicar)
on Jun 10, 2003 at 14:35 UTC ( #264687=note: print w/replies, xml ) Need Help??


in reply to Appending strings from one array onto strings of another

The hyper operator is more appropriate

@z .^~ @a; # I believe _ has been replaced by ~ # as the new replacement for '.'

but multi-variable loops work, too, though not as fast.

my @new; for @z;@d -> $z;$d { push @new, $z ~ $d; }

--
TTTATCGGTCGTTATATAGATGTTTGCA

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2020-07-06 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?