On Feb 1, 2008 8:56 PM, Peter Karman <[EMAIL PROTECTED]> wrote:

> Wonder if something like this would make a useful Helper:
>  sub forget {
>      my $self = shift;
>      my $accessor = shift or croak "need accessor name";
>      $self->$accessor( undef );
>  }

I like that a lot.  I think I'll add it to my RDBO sub-class.  Even better,
in my opinion, would be making it the standard interface and deprecating
passing undef to clear the cache.  I agree that that's confusing to read and
asking for trouble.

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Rose-db-object mailing list

Reply via email to