Welcome to the Monastery | |
PerlMonks |
Re^2: "use" dynamic moduleby ysth (Canon) |
on Dec 06, 2005 at 21:04 UTC ( [id://514638]=note: print w/replies, xml ) | Need Help?? |
$mod->import if $mod->can('import');No can() check needed; if there's no import, $mod->import() is silently a noop (even if there is an AUTOLOAD!).
In Section
Seekers of Perl Wisdom
|
|