Miyah has asked for the wisdom of the Perl Monks concerning the following question:
the two perl modules are the same except for chromosome numbers and lengths (same subroutine names). Right now, it seems like perl is ignoring the conditional. Is there any way I can get around this easily? Thanks!if ($species eq "H") {use human;} elsif ($species eq "M") {use mouse;}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use module question.
by jeffa (Bishop) on Aug 04, 2005 at 15:33 UTC | |
by Miyah (Initiate) on Aug 04, 2005 at 17:04 UTC | |
|
Re: use module question.
by kwaping (Priest) on Aug 04, 2005 at 15:34 UTC | |
|
Re: use module question.
by gellyfish (Monsignor) on Aug 04, 2005 at 15:38 UTC | |
|
Re: use module question.
by Zaxo (Archbishop) on Aug 04, 2005 at 15:41 UTC | |
|
Re: use module question.
by friedo (Prior) on Aug 04, 2005 at 16:00 UTC | |
|
Re: use module question.
by blazar (Canon) on Aug 04, 2005 at 15:35 UTC | |
|
Re: use module question.
by jeteve (Pilgrim) on Aug 04, 2005 at 15:45 UTC |