Typo in a code sample on the DBD::Pg CPAN page
Tim Mattison <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.dbdpg |
|---|---|
| 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