From: Ash Berlin Date: Mon, 30 Oct 2006 14:49:27 +0000 (+0000) Subject: Fixed type in hasrref iter - thanks abraxxa X-Git-Tag: v0.07003~15 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a44828629e7b85acfdd1837ba4af70a356ccd0fb;p=dbsrgits%2FDBIx-Class.git Fixed type in hasrref iter - thanks abraxxa --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index ab58aaa..916b710 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -1128,7 +1128,7 @@ C: my $datahashref = $rs->next; foreach my $col (keys %$datahashref) { - if(!ref($datahashref->{$col}) { + if(!ref($datahashref->{$col})) { # It's a plain value } elsif(ref($datahashref->{$col} eq 'HASH')) {