in reply to
Dynamically load all modules from a directory
Try
require
instead of
use
, whose documentation states "that Module must be a bareword".
Comment on
Re: Dynamically load all modules from a directory
Replies are listed 'Best First'.
Re^2: Dynamically load all modules from a directory
by
chanakya
(Friar)
on Oct 02, 2009 at 10:33 UTC
Thanks everyone for your valuable comments.
I looked at
Module::Pluggable
, read the docs and implemented it right away.
And my impressions?? the module rocks and fits to my needs perfectly.
Thank you once again.
[reply]
Re^3: Dynamically load all modules from a directory
by
Anonymous Monk
on Nov 19, 2014 at 04:34 UTC
+1
[reply]
In Section
Seekers of Perl Wisdom