Catalystã®ãã¼ã¸ã§ã³ã5.71ã«ããããããªã¡ãã»ã¼ã¸ãåºãããã«ãªãã¾ããã
[warn] Used regexp fallback for $c->model('View::TT'), which found 'MyApp::Web::View::TT=HASH(0x21d44d0)'. Relying on regexp fallback behavior for component resolution is unreliable and unsafe. You probably meant $c->model('MyApp::Web::View::TT=HASH(0x21d44d0)') instead of $c->model{'View::TT'}, but if you really wanted to search, pass in a regexp as the argument like so: $c->model(qr/View::TT/)
Changesãè¦ãã¨ããã5.7099ç³»ã§ææ§ãªã³ã³ãã¼ãã³ãæå®ã§è¦åãåºãããã«ãªã£ãããã§ãã
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
ç°¡åã«ã¾ã¨ããã¨ãããªæãã§ããããã
default_(model|view)ã欲ããã®ãï¼ current_(model|view)ã欲ããã®ãï¼ current_(model|view)_instanceã欲ããã®ãï¼ ã¯ã£ããããã ãã¨ã欲ããã³ã³ãã¼ãã³ããåãã£ã¦ãããªã<del>ãã«ãã¼ã </del>ã§æ¸ãã æ¬å½ã«æ¢ãããã¨ããã®ãªããæååã§ã¯ãªãæ£è¦è¡¨ç¾ãªãã¸ã§ã¯ããæ¸ãã¦æ 度ã示ãã
ããã«ãã¼ã ãã¨ãã©ãã«ãæ¸ãã¦ãªãï¼ï¼ï¼ï¼ãããããªãã¦ãMyApp::(?:Model|View)::(.*)ã®$1é¨åã ããæ¸ããªãã¨warningãåºãã¿ããã§ãã