Subject: | Minor bug in documentation DBI::ProfileDumper |
Date: | Tue, 29 May 2012 13:24:26 -0400 |
To: | bug-DBI [...] rt.cpan.org |
From: | Finn Hakansson <finn.hakansson [...] experian.com> |
Hello DBI team,
Here's a patch for a minor bug in the documentation for DBI::ProfileDumper:
--- lib/DBI/ProfileDumper.pm 2010-05-07 08:28:58.000000000 -0400
+++ lib/DBI/ProfileDumper.pm.NEW 2012-05-29 13:18:10.705814101 -0400
@@ -23,21 +23,21 @@
# profile with default path (2) and output file (dbi.prof)
$dbh->{Profile} = "!Statement/DBI::ProfileDumper";
# same thing, spelled out
$dbh->{Profile} = "!Statement/DBI::ProfileDumper/File:dbi.prof";
# another way to say it
use DBI::ProfileDumper;
$dbh->{Profile} = DBI::ProfileDumper->new(
- Path => [ '!Statement' ]
+ Path => [ '!Statement' ],
File => 'dbi.prof' );
# using a custom path
$dbh->{Profile} = DBI::ProfileDumper->new(
Path => [ "foo", "bar" ],
File => 'dbi.prof',
);
=head1 DESCRIPTION
Thanks,
Finn