Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: add letters to the begin of the sentence

by kcott (Abbot)
on Sep 12, 2013 at 21:46 UTC ( #1053800=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -Mwarnings -e '
        my @fasta = (">dddd\n", "abcdef\n", ">eeee\n", "bcdef\n");
    ...
    aaaaabcdef
    >eeee
    aaaabcdef
    
  2. or download this
    while (<$input_fh>) {
        print $output_fh 'aaaa' unless /^>/;
        print $output_fh $_;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-03-31 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (673 votes), past polls