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 cer
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 messin
Paul Johnson wrote:
> In general Perl treats this as a social rather than a programming problem.
> This tends to unnerve some people coming from B&D (programming)
> backgrounds.
yes, i know this; i have a background in python, and the private
attribute thingy is also not available in the langu
David Garamond said:
> i've read the Object Orienter Perl book by Damian Conway, and in
> chapter 11 he explains about Tie::SecureHash that's supposed to
> provide
> capability to create private attributes.
>
> however, since a package is never closed, and we cannot override the
> 'package' op (
i've read the Object Orienter Perl book by Damian Conway, and in chapter
11 he explains about Tie::SecureHash that's supposed to provide
capability to create private attributes.
however, since a package is never closed, and we cannot override the
'package' op (via declaring sub CORE::GLOBAL::p