Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Appending one array onto another

by TomDLux (Vicar)
on Jun 10, 2003 at 14:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://264687]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-18 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found