James Edward Gray II wrote: > On Thursday, October 10, 2002, at 12:00 PM, David Garamond wrote: > >> thanks for the tip. the reason i am looking for "real" private >> attributes in the first place because i need to give objects (which >> are usually blessed hashrefs) to untrusted code. i certainly do not >> wish the code messing with attribute values (and re-blessing them, but >> 'bless' can be overriden, so i think this one's not a problem). > > The Perl take on something like this is that if they do "re-bless" or > whatever, they've violated your supplied interface and the ensuing chaos > is their mess to clean up.
well, according to the scenario, they're untrusted after all :-) -- dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
