Simon Flack wrote:
> Maypole::Application. pre 2.08, it looked like this:
>
> use Maypole::Application qw(Loader Transaction);
> @BeerDB::ISA = qw(M::P::Transaction M::P::Loader M::Application)
>
> Because 'Transaction' and 'Loader' were reversed, I thought I'd change
> the unshift() to a push(), but that resulted in:
>
> @BeerDB::ISA = qw(M::Application M::P::Loader M::P::Transaction)
>
> So because Maypole::Application is at the front of @ISA,
> M::P::Loader->setup() never gets called.
It wasn't what I was thinking about then. Thanks for the explanation.
This afternoon I found a funny with Maypole::CLI. A URL works under CGI
giving some odd results; but under CLI it dies in Ima::DBI saying it
can't find db_Main. I haven't seen that kind of problem before so I'm
suspecting it's new in this version. I didn't get time to investigate
today but hopefully I'll find it tomorrow. I'll let you know either way.
> I've cleaned it up now, but I'm going to write some tests before
> uploading it, just to make sure.
I'm planning to write some tests for my Authorization module. Are there
one or more Maypole tests you would recommend as a model?
Thanks, Dave
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/05
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT