Re: Feature request

[prev] [thread] [next] [Date index for 2004/07/13]

From: Perrin Harkins
Subject: Re: Feature request
Date: 17:21 on 13 Jul 2004
On Tue, 2004-07-13 at 12:46, Siamak Pazirandeh wrote:
> Question : Is there a prefered method for refreshing/invalidating an object's data?

Both of these should work:

my $cd = Music::CD->retrieve(1);
undef $cd;
$cd = Music::CD->retrieve(1);

or

my $cd = Music::CD->retrieve(1);
$cd->remove_from_object_index();
$cd = Music::CD->retrieve(1);

You could probably make a refresh() method that does that pretty easily.

- Perrin

Feature request
Siamak Pazirandeh 16:46 on 13 Jul 2004

Re: Feature request
Perrin Harkins 17:21 on 13 Jul 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52