Re: [CDBI] new reserved words in 3.0.11?

[prev] [thread] [next] [Date index for 2005/11/04]

From: William Ross
Subject: Re: [CDBI] new reserved words in 3.0.11?
Date: 13:31 on 04 Nov 2005
On 4 Nov 2005, at 13:14, Dave Howorth wrote:

> On Fri, 2005-11-04 at 12:56 +0000, William Ross wrote:
>> On 4 Nov 2005, at 12:36, William Ross wrote:
>>
>>> incidentally, your lc($column) is likely redundant anyway: $column
>>> is an object and stringifies to a lowercased version of its name.
>>> As a test, I'd suggest that you either omit the lc($column) or add
>>> a simple mutator_name_for method:
>>>
>>>   sub mutator_name_for {
>>>     return lc(shift);
>>>   }
>>
>> meh. you probably already changed that to
>>
>>    sub mutator_name_for {
>>      my $class = shift;
>>      return lc(shift);
>>    }
>
> If you're going to go with a workaround for the bug, the code  
> needed is
> actually simpler and more general:
>
>   *mutator_name_for = \&accessor_name_for;

it was a diagnostic test, not a workaround, and the *whatsit seems a  
bit london.pm when you could just call the method :)

But yes, it would work much better than my suggestion.

will


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

(message missing)

[CDBI] new reserved words in 3.0.11?
Patrik Wallstrom 12:33 on 03 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Christopher H. Laco 13:43 on 03 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Patrik Wallstrom 13:59 on 03 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Patrik Wallstrom 11:36 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
William Ross 12:36 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
William Ross 12:56 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Dave Howorth 13:10 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Jay Strauss 13:31 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Dave Howorth 13:47 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Matt S Trout 13:58 on 03 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
Dave Howorth 13:14 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
William Ross 13:31 on 04 Nov 2005

Re: [CDBI] new reserved words in 3.0.11?
William Ross 13:28 on 04 Nov 2005

Generated at 20:55 on 09 Nov 2005 by mariachi v0.52