Re: [CDBI] Scope of autoupdate/update?

[prev] [thread] [next] [Date index for 2005/08/02]

From: Christopher H. Laco
Subject: Re: [CDBI] Scope of autoupdate/update?
Date: 20:48 on 02 Aug 2005
This is a cryptographically signed message in MIME format.

--===============1014971324==
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
	micalg=sha1; boundary="------------ms020701050203080402090101"

This is a cryptographically signed message in MIME format.

--------------ms020701050203080402090101
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

William Ross wrote:
> Custom inflation method?
> 
>   Handel::Cart->has_a(thing => 'My::Artist',
>     inflate => 'inflate_without_autoupdate',
>   );
> 
> and in your base class, something like:
> 
>   sub inflate_without_autoupdate {
>     my ($class, $id) = @_;
>     my $self = $class->_simple_bless($id);
>     $self->autoupdate(0);
>     return $self;
>   }
> 
> but I haven't ever needed to do this, nor tested any of the above :)
> 
> will
> 
> 

Huh. That would work. Although it's more at the definition level of
things. In my case, it would only happen during the inflate during AxKit
usage, but not for normal perl usage.

Then again, maybe it's just a matter of rearranging the code that the
taglib spits out.

I wonder if creating a seperate has_a would be evil?

Handel::Cart->items gets me the normal items decalred by the package..
Handel::Cart->nonupdate_items gets me the items with the special
inflation that turns off autoupdate...

-=Chris

--------------ms020701050203080402090101
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII8TCC
AtMwggI8oAMCAQICAw37vjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwMjA3MTc0NDM3WhcNMDYwMjA3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IhvcNAQkPMUUwQzAKBggqhkiG
9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcN
AwICASgweAYJKwYBBAGCNxAEMWswaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl
IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0ECAw37vjB6BgsqhkiG9w0BCRACCzFroGkwYjELMAkGA1UEBhMCWkEx
JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0
ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBAgMN+74wDQYJKoZIhvcNAQEBBQAEggEA
RiXBk0eeIfnB6USVethuG8jVLEGiKx86IHroWubanTSgmTJLjQZDY5grAV+4gFHGPXezQ/qo
pxJN/Hx9M+q3rMwWJ5AklIugEPIuil35RxZFypW1hR5TWNymp6J5U6Ff3EdkRqO3pUfg3N+W
jsa+f59YMqU/QdQPmO4sp5jXziAx7hqhB1QTNx0pwwPUK9sDuhNwqPJ2qwnBurr1xydYqdqg
a7ryUJpLymtigNPTXS1vmrfFA3faKELNqYKF45neeBz8ycuQHDbz5tJFK0qItNc2SqOd64Cr
JwD0L3Qvx/AD4a3EFYl/Xcm1GD9unZTAmOaSR3/fbGjg6vZLcQwndgAAAAAAAA==
--------------ms020701050203080402090101--


--===============1014971324==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

--===============1014971324==--

[CDBI] Scope of autoupdate/update?
Christopher H. Laco 19:36 on 02 Aug 2005

Re: [CDBI] Scope of autoupdate/update?
Christopher H. Laco 19:54 on 02 Aug 2005

Re: [CDBI] Scope of autoupdate/update?
William Ross 20:42 on 02 Aug 2005

Re: [CDBI] Scope of autoupdate/update?
Christopher H. Laco 20:48 on 02 Aug 2005

Re: [CDBI] Scope of autoupdate/update?
Christopher H. Laco 23:49 on 08 Aug 2005

Generated at 09:40 on 09 Aug 2005 by mariachi v0.52