Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: managing object permissions

by LanX (Bishop)
on Nov 26, 2008 at 17:36 UTC ( #726164=note: print w/replies, xml ) Need Help??

in reply to Re: managing object permissions
in thread managing object permissions

I think another kind of inheritance is meant.

Perls OOP models inheritance on classes not on objects. Objects have no @ISA.

IMHO the OT has objects of different classes in a hierarchical order

but he may simulate the @ISA behaviour für objects in an instancevariable @upper_rights containing refs to the other objects.

Cheers Rolf

Replies are listed 'Best First'.
Re^3: managing object permissions
by Bloodnok (Vicar) on Nov 26, 2008 at 18:26 UTC
    Agreed - but I've played with inheritance at both class and instance level in order to achieve substantially the same, or similar, end-result.

    A user level that continues to overstate my experience :-))

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://726164]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-12-13 17:19 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (372 votes). Check out past polls.