Re[2]: Inflate a boolean

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

From: a.d.tim
Subject: Re[2]: Inflate a boolean
Date: 12:37 on 20 Feb 2005
Hello Tony,

>> >but if you're stuck with that, then you could just find or write a
>> >simple Boolean class that you can use has_a to inflate to.
>> I did and now that column return hashref (my class) :( Any way
>> to stringify it?

TB> The traditional way would be to use overload. But as you need to be
TB> context specific, your best bet is to create method on it to give you
TB> what you need in each scenario, and then just call those methods when
TB> you need the data.

Must be my poor english ;) Restating my question: is there any simple
way to preprocess data, after getting it from db?
I realize that all triggers and normalizations works for updating
only, but not reading.

Overloading must be best way, but I don't get it, how to overload
column when using AutoLoader. Could you please give an example or
point me to a docs I should read?

Thanks for your answers.

        -- 
        Best regards.

(message missing)

Inflate a boolean
adtim 09:08 on 20 Feb 2005

Re: Inflate a boolean
Ofer Nave 09:22 on 20 Feb 2005

Re: Inflate a boolean
Tony Bowden 09:44 on 20 Feb 2005

Re: Inflate a boolean
a.d.tim 10:35 on 20 Feb 2005

Re: Inflate a boolean
Tony Bowden 11:15 on 20 Feb 2005

Re[2]: Inflate a boolean
a.d.tim 12:37 on 20 Feb 2005

Re: Inflate a boolean
Perrin Harkins 21:15 on 20 Feb 2005

Re: Inflate a boolean
Ofer Nave 21:40 on 20 Feb 2005

Re: Inflate a boolean
Tony Bowden 22:07 on 20 Feb 2005

Re: Inflate a boolean
Ofer Nave 22:24 on 20 Feb 2005

Re: Inflate a boolean
Johan Lindstrom 22:47 on 20 Feb 2005

Re: Inflate a boolean
Tony Bowden 23:35 on 20 Feb 2005

Re: Inflate a boolean
Johan Lindstrom 00:20 on 21 Feb 2005

Re: Inflate a boolean
Tony Bowden 09:31 on 21 Feb 2005

Re: Inflate a boolean
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 21:25 on 21 Feb 2005

Generated at 12:48 on 22 Feb 2005 by mariachi v0.52