Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: OO-style modifiers for 'sub' ?

by dragonchild (Archbishop)
on Jan 24, 2003 at 18:06 UTC ( #229653=note: print w/ replies, xml ) Need Help??


in reply to OO-style modifiers for 'sub' ?

Personally, I'd do ... unless UNIVERSAL::isa($self, __PACKAGE__);, but that's just me.

As for your ideas re: attributes ... they're good ideas. Come up with something, test it it, then submit it to CPAN for the community to use. *grins* It's the best thing about open-source!

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.


Comment on Re: OO-style modifiers for 'sub' ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (17)
As of 2015-07-31 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls