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

Re^2: managing object permissions

by LanX (Chancellor)
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2016-10-28 12:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (383 votes). Check out past polls.