Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://726164]
help
Chatterbox?
[ambrus]: Petroza had trouble posting yesterday, but has posted Issues Fetching URL with a variable token since.
[mz2255]: Yes, just edited the scratchpad. Not sure if I'm doing something wrong, it's my first time.
[ambrus]: No, you're not doing anything wrong. It's just that our automatic spam filters confuse you with the spammers who post advertisments for online shops of counterfeit branded clothing.
[ambrus]: Or unless you left the title field empty or entered a very short title for the node, but then you'd get a message saying that.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-10-19 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?