in reply to Selecting a random number, and back calculating to chromosome and contig!
it will make your code much more readable and much easier to find the typos and context errors that other people have noted in your code.use strict; ... ... my contig; SWITCH: { if ($numbers < 561231) {$contig = 'whatever';last SWITCH;} if ($numbers < 700000) {$contig = 'whatevr1';last SWITCH;} if ($numbers < 720000) {$contig = 'whatevr2';last SWITCH;} .. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Selecting a random number, and back calculating to chromosome and contig!
by halley (Prior) on Apr 30, 2004 at 17:02 UTC |