On 2/16/07, Brian Duggan <[EMAIL PROTECTED]> wrote:
> On Friday, February 16, Jay Savage wrote:
> > It turns out that was it. What a weird bug.
>
> Not a bug in cdbi -- you were just using columns()
> incorrectly. There are no examples in the docs of passing
> multiple groups in one columns() call. That syntax would
> lead to ambiguities, since e.g.
>
> __PACKAGE__->columns(a => qw/b c d e f/)
>
> is the same as
>
> __PACKAGE__->columns(a => qw/b c/, d => qw/e f/)
>
> (the arguments just get flattenned into one array)
>
> Brian
Don't I feel like an idiot.
If you'd asked me, despite having just typed it into an email--not to
mention having just worked out a bunch of clumn declarations, I would
have said that it was
$obj->columns( GROUP => [qw/ columns /]);
But of course that's not what it is at all.
Stare at something long enough and you start missing the obvious bits.
I should have slept on it before I posted...
Thanks,
-- jay
--------------------------------------------------
This email and attachment(s): [ ] blogable; [ x ] ask first; [ ]
private and confidential
daggerquill [at] gmail [dot] com
http://www.tuaw.com http://www.downloadsquad.com http://www.engatiki.org
values of β will give rise to dom!
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users