Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.

¤

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 avoiding work at the Monastery: (8)
As of 2016-09-27 03:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (494 votes). Check out past polls.