Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Deciding a class at runtime.

by frankus (Priest)
on Jun 27, 2002 at 16:40 UTC ( #177756=note: print w/ replies, xml ) Need Help??


in reply to Good practice: Variable declaration

This seems correct. Perhaps better to use:

$word = Verb->new(@blah);
But I guess that's a matter of preference unless you're doing multi-inheritence.

--

Brother Frankus.

¤


Comment on Re: Deciding a class at runtime.
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (18)
As of 2014-08-01 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (20 votes), past polls