Quinn Weaver wrote: > On Mon Jun 18 20:04:09 GMT 2007, Matt Trout wrote: >> No it isn't. The redefine means it -isn't- called a second time. >> > > Yes it is. You can verify this by running myapp_server.pl under the debugger, > or by putting lines like this in MyApp::setup: > > warn "setup called by process $$ at ", scalar localtime(); > > >> But all the plugins' setup() methods (which weren't in @ISA when setup was >> first called) -are- called. >> > > Thanks--I see the motivation now. But it seems to have the unintended side > effect of calling MyApp::setup twice. > > What's wrong with:
$_->setup for keys %{$self->_plugins}; Matt _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/