Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
XP is just a number
 
PerlMonks  

Variable as module name?

by Cody Fendant (Pilgrim)
on Feb 01, 2013 at 22:25 UTC ( #1016618=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Foo;
    my $object = Foo->new();
    
  2. or download this
    my $module_name = 'Foo';
    use $module_name;
    my $object = $module_name->new();
    
  3. or download this
    $module = 'Foo';
    my $module_path = $module . '.pm';
    require $module_path;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1016618]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-04-18 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (467 votes), past polls