Typo in a code sample on the DBD::Pg CPAN page
[email protected] (Tim Mattison)
| Newsgroups | perl.dbd.pg |
|---|---|
| Message-ID | <[email protected]> |
To whom it may concern,
I was looking for an example of how to pull schema information from
DBD::Pg and found some information on the CPAN page. One of the code
samples has an error in it. The affected line is:
for my $rel ({@$sth->fetchall_arrayref({})}) {
And it should read instead:
for my $rel (@{$sth->fetchall_arrayref({})}) {
Thanks for maintaining DBD::Pg. Without it I'd be sunk.
Tim Mattison