X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSet%2FWithMetaData.pm;h=6a00d25da32003b090b53639975d1979fa0c7e4e;hb=cbce6bede18c0fe21c1f5efd7e52754705807fb4;hp=f78595f001d8b0db980cd3bb092b5d049f664605;hpb=bd94a7980cff7ce773ff2d18f9ba84990cee5149;p=dbsrgits%2FDBIx-Class-ResultSet-WithMetaData.git diff --git a/lib/DBIx/Class/ResultSet/WithMetaData.pm b/lib/DBIx/Class/ResultSet/WithMetaData.pm index f78595f..6a00d25 100644 --- a/lib/DBIx/Class/ResultSet/WithMetaData.pm +++ b/lib/DBIx/Class/ResultSet/WithMetaData.pm @@ -87,7 +87,7 @@ DBIx::Class::ResultSet::WithMetaData =head1 DESCRIPTION Attach metadata to rows by chaining ResultSet methods together. When the ResultSet is -flattened to an ArrayRef the attached metadata is merged with the row hashes to give +flattened to an ArrayRef the metadata is merged with the row hashes to give a combined 'hash-plus-other-stuff' representation. =head1 METHODS @@ -133,8 +133,9 @@ sub new { $arrayref_of_row_hashrefs = $rs->display(); This method uses L to convert all -rows in the ResultSet to HashRefs. These are then merged with any metadata -that had been attached to the rows using L. +rows in the ResultSet to HashRefs. Then the subrefs that were added via +L or L are run for each row and the +resulting data merged with them. =cut