[Catalyst] [Announce] Catalyst::Runtime 5.7099_04. IMPORTANT;
PLEASE TEST!
kakimoto at tpg.com.au
kakimoto at tpg.com.au
Sat Mar 14 02:06:39 GMT 2009
Guys,
can some one please elaborate further on this or point me to a doc on
cpan to read about?
I'm getting a very annoying warning as below and can't figure it out.
Please help.
[warn] Used regexp fallback for $c->model('myApp::View::HTML'), which
found 'myApp::View::HTML=HASH(0x8ef7b50)'. Relying on regexp fallback
behavior for component resolution is unreliable and unsafe. You probably
meant $c->model('myApp::View::HTML=HASH(0x8ef7b50)') instead of
$c->model{'myApp::View::HTML'}, but if you really wanted to search, pass
in a regexp as the argument like so: $c->model(qr/myApp::View::HTML/) at
/usr/local/lib/perl5/site_perl/5.8.9/Catalyst/Action/RenderView.pm line 56
[debug] Rendering template "index.tt2"
[debug] Applying HTML page layout wrappers to index.tt2
------------------- From this email thread....
[ EXTRACT START]
5.7099_01 2008-06-25 22:36:00
- Refactored component resolution (component(), models(),
model(), et al). We now
throw warnings for two reasons:
1) model() or view() was called with no arguments, and two
results are returned
-- set default_(model|view), current_(model|view) or
current_(model|view)_instance
instead
2) you call a component resolution method with a string, and
it resorts to a regexp
fallback wherein a result is returned -- if you really want
to search, call the
method with a regex as the argument
[ EXTRACT END]
More information about the Catalyst
mailing list