Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: OO-style modifiers for 'sub' ?

by Aristotle (Chancellor)
on Jan 24, 2003 at 23:59 UTC ( [id://229755]=note: print w/replies, xml ) Need Help??


in reply to Re: OO-style modifiers for 'sub' ?
in thread OO-style modifiers for 'sub' ?

sub foo # requires interfaces IntA, IntB { my ($self) = @_; IntA::validate($self); IntB::validate($self); }
Excellent! I am impressed - a very simple, concise and - as far as I can tell - robustly versatile approach. Seems to be the perfect distribution of responsibilities. It certainly deserves attention - if it doesn't get much here, please repost it as a root node. I'm very curious to hear the gurus with theoretical background poke at this and comment on it.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-19 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found