Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: merge sequences with new sequence insertion

by boftx (Chaplain)
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.


Comment on Re: merge sequences with new sequence insertion
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-09-22 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls