Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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

by Aristotle (Chancellor)
on Jan 24, 2003 at 23:59 UTC ( #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.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2015-11-28 23:35 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls