Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 14745
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: cpan.zerofive [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Documenting passing CDBI::Loader args in setup()
To pass arguments through to CDBI::Loader->new() in the Maypole->setup() call, you need to say something like MyApp->setup( $dsn, $usr, $pass, { options => {AutoCommit => 1} } ); It has to be this ugly to accommodate other named options in the final href. Various docs are out of date, saying MyApp->setup( $dsn, $usr, $pass, {AutoCommit => 1}); d.
[DAVEBAIRD - Sun Sep 25 15:35:18 2005]: Show quoted text
> To pass arguments through to CDBI::Loader->new() in the Maypole-
> >setup()
> call, you need to say something like > > MyApp->setup( $dsn, $usr, $pass, { options => {AutoCommit => 1} } ); > > It has to be this ugly to accommodate other named options in the final > href. Various docs are out of date, saying > > MyApp->setup( $dsn, $usr, $pass, {AutoCommit => 1}); > > d.
I can't find any occurances of this with grep - can anybody let me know where they are? thanks, A.