Pathologically Eclectic Rubbish Lister | |
PerlMonks |
use module if condition is metby Grygonos (Chaplain) |
on Jan 23, 2004 at 17:01 UTC ( [id://323606]=perlquestion: print w/replies, xml ) | Need Help?? |
Grygonos has asked for the wisdom of the Perl Monks concerning the following question:
Felllow Monks,
Here is the basic idea of what I'm attempting, I want to use a different module depending on what client my script runs for. Secondly,there are some functions that exist in one client module that may not exist in another. I would like to check for the existance of a sub before I call it.
Is this possible, or a good idea? Can you suggest some alternatives? Thanks again monks,Grygonos
Back to
Seekers of Perl Wisdom
|
|