Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: import() when require-d module name is variable

by f00li5h (Chaplain)
on Jul 18, 2009 at 22:15 UTC ( [id://781385]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Module::Find qw[ useall ];
    my @plugins = useall q/Foo::Bar/;
    ...
            my $plugin = $plugin_name->new();
    
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://781385]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-30 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found