[Dbix-class] why is this returning an hash?

Paul Findlay Paul.Findlay at fonterra.com
Thu May 16 04:25:12 GMT 2013


You will get back an array of Db::Schema::Result::Mytable items. So you could then do..

# if we have any items, output the status of the first one
if (@item_array) {
      print $item_array[0]->item_status(), "\n";
}

Kind regards,

Paul Findlay

________________________________
DISCLAIMER
This email contains information that is confidential and which may be legally privileged. If you have received this email in error, please notify the sender immediately and delete the email. This email is intended solely for the use of the intended recipient and you may not use or disclose this email in any way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20130516/3ff2a665/attachment.htm


More information about the DBIx-Class mailing list