from here i understood, that if i collect output in array element, i will get an array. http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/ResultSet.pm#search
in below, $id is unique in the table, so it returns just one row. my @item_array = $schema->resultset('Mytable')->search( { item_id => $id }, { select => [qw/item_status/] } ); print "print array =@item_array\n"; ./test.pl node status=Db::Schema::Result::Mytable=HASH(0x17b9cf8) $ I actually/finally want to get the value of an specific column by supplying $id. not sure how to get that.
_______________________________________________ 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/dbix-class@lists.scsys.co.uk