Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

What went wrong with this change in code?

by naturalsciences (Beadle)
on Nov 10, 2011 at 10:55 UTC ( [id://937328]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     
    open IN, 'sample.fa'|| die("Could not open file!");
    open OUT, '>modsample.fa'|| die("Could not open file!");
    ...
    else {print ".";} #just to look at something while it works 
    }
    
  2. or download this
    open IN, 'sample.fa'|| die("Could not open file!");
    open OUT, '>modsample.fa'|| die("Could not open file!");
    ...
    if ($nextline=~m/mamma/&&$line=~m/mia/) {print OUT "$line$nextline";}
    else {print ".";}
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://937328]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-19 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found