[Nh-pm] overloading subs?
Morbus Iff
morbus at disobey.com
Thu Feb 6 14:21:42 CST 2003
>I have a chunk of code which "use"s a module I wrote. I want to be
>able distribute this code without the requiring the use of this
>module. Is there any way to have an externally imported sub mask a
>local one? Basically, what I'd like is this:
eval("use Module::Name");
if ($@) { module isn't installed }
else { module is installed and loaded }
See in-use here:
http://disobey.com/d/perl/itunes2html.txt
--
Morbus Iff ( i'm the droid you're looking for )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus
More information about the Nh-pm
mailing list