Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-09-24 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (246 votes), past polls