my $first_row = $schema->resultset('User')->search( { } )->hashref_first;
print Dumper $first_row
+ hashref_pk( )
+ Calls hashref_array and returns a reference to a hash containing the
+ primary key. For each key the corresponding value is a reference to a
+ hash of the resultset inflated by
+ DBIx::Class::ResultClass::HashRefInflator.
+
+ my $hashref_pk = $schema->resultset('User')->search( { } )->hashref_pk;
+ print Dumper $hashref_pk
+
AUTHOR
Johannes Plunien <plu@cpan.org>
+CONTRIBUTORS
+ Robert Bohne <rbo@cpan.org>
+
COPYRIGHT AND LICENSE
Copyright 2008 by Johannes Plunien