Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: managing object permissions

by LanX (Canon)
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


Comment on Re^2: managing object permissions
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2014-09-01 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (299 votes), past polls