[Catalyst] 5.7 upgrade aftermath: dev_server warnings
Christopher H. Laco
claco at chrislaco.com
Wed Jul 26 22:35:13 CEST 2006
leonard.a.jaffe at jpmchase.com wrote:
> Here is the output when I start the dev_server.pl script.
>
> $ script/dtsis_server.pl -r -k
> Subroutine run redefined at
> D:/Perl/site/lib/Catalyst\Engine\HTTP\Restarter.pm line 9.
> loader_options should be set before connecting the schema, see the
> DBIx::Class::Schema::Loader docs at D:/Perl/site/lib/
> DBIx/Class/Schema/Loader.pm line 166.
> [debug] Debug messages enabled
> [debug] Loaded plugins:
>
> So I looked into it a little. C::E::HTTP::Restarter ISA C::E::HTTP, but
> C::E::HTTP requires C::E::HTTP::Restarter, which is where, I think, the
> redefinition warning is being generated.
>
> At least it's being redefined with itself.
>
> Len.
This was fixed last night in the repo.
In a nutshell, myapp_server.pl needs a 'require Catalyst::Engine::HTTP'
in it.
http://dev.catalyst.perl.org/changeset/4748
-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060726/5faa4d10/attachment-0001.pgp
More information about the Catalyst
mailing list