Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: How to a construct objects with variables as class names?

by joecamel (Hermit)
on Feb 14, 2001 at 11:32 UTC ( [id://58306]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $fullClass = "SuperWidget::Widget::" . $className;
    
    my $widget = $fullClass->new($widgetID);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-03-28 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found