Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: merge sequences with new sequence insertion

by boftx (Deacon)
on Nov 26, 2013 at 20:22 UTC ( #1064465=note: print w/replies, xml ) Need Help??


in reply to merge sequences with new sequence insertion

Not sure if it can be done as a one-liner, but I would slurp the input file into an array, then use join to do the concatenation (with the boundary sequence as the join expression.)

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-04 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (68 votes). Check out past polls.