Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Comparing and getting information from two large files and appending it in a new file

by remiah (Hermit)
on Mar 30, 2012 at 23:53 UTC ( #962702=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $genes(@genome){
        chomp($genes);
    
  2. or download this
    while ( $genes =<IN1> ){
        chomp($genes);
        next if ( $genes !~ /^Gm10/ );