Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2018-02-22 11:14 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (291 votes). Check out past polls.