>
> qw// builds a list, not an arrayref, so it's as though you typed this:
>
>  columns => 'AgentRequestedLast',
>  AgentRequestedFirst => 'ShopNo',
>

Ahhh, excellent.

David, I understand where you are coming from, and I may do that in the
future, but the amount of columns in this class is insane (79) and sometimes
we need one set and other times we need another set, so even if I did it
like yours I'd need to have multiple TO_JSON methods.

Anyway, thanks!

-- 

-fREW
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to