Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-27 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls