[Dbix-class] DBIX to JSON

Hans Dieter Pearcey hdp.perl.dbix-class at weftsoar.net
Wed Jan 7 21:05:26 GMT 2009


On Wed, Jan 07, 2009 at 02:53:30PM -0600, fREW Schmidt wrote:
>         columns => qw/AgentRequestedLast AgentRequestedFirst ShopNo/
>
> I then get the error: Can't use string AgentRequestedLast as an ARRAY ref while
> in strict refs.

qw// builds a list, not an arrayref, so it's as though you typed this:

  columns => 'AgentRequestedLast',
  AgentRequestedFirst => 'ShopNo',

hdp.



More information about the DBIx-Class mailing list