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

Re: Make my script faster and more efficient

by monarch (Priest)
on Dec 03, 2008 at 03:35 UTC ( #727583=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      while (<INPUT2>) {
        $_ =~ s/[\r\n]+\z//s; # I don't use chomp, sorry
    ...
        my $origin = $origins{$contig_id};
        print RESULTS "$bioC\t$origin\t$pip\n";
      }
    
  2. or download this
      my $origin = $origins{$contig_id};
      if ( ! defined( $origin ) ) {
        die( "No mapping for \"$contig_id\" found in origins table" );
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-04-20 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls