in reply to use module question.
use statements are always loaded first, regarless of what run time conditions you throw on them. For example:
Try using require instead. But i would actually use an Object Oriented approach and instantiate the appropriate object instead. In fact, this is good case for using Class::Factoryif (0) { use Data::Dumper; } print Dumper [1..10];
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use module question.
by Miyah (Initiate) on Aug 04, 2005 at 17:04 UTC |