Hello,<br><br>I am using catalyst on ubuntu with perl 5.8.8.<br>The script t/view_TT.t generated by default fails:<br><br><b><span style="font-family: courier new,monospace;">%prove -l lib t/view_TT.t</span></b><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">t/view_TT....1/1 </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#&nbsp;&nbsp; Failed test &#39;use My::App::View::TT;&#39;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#&nbsp;&nbsp; at t/view_TT.t line 5.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#&nbsp;&nbsp;&nbsp;&nbsp; Tried to use &#39;My::App::View::TT&#39;.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#&nbsp;&nbsp;&nbsp;&nbsp; Error:&nbsp; Can&#39;t locate object method &quot;<b>path_to</b>&quot; via package &quot;My::App&quot; at xxxxx/lib/My/App/View/TT.pm line 6.</span><br><br>The script has only one line: <br>
<span style="font-family: courier new,monospace;">BEGIN { use_ok &#39;MyApp::View::TT&#39; }</span><br><br>If you take a look at <b>MyApp/My/App/View/TT.pm</b>, the problem seems to be this line:<br>&nbsp;&nbsp;&nbsp; <span style="font-family: courier new,monospace;">Serono::Gecko-&gt;path_to( &#39;root/src&#39; ),</span><br>
<br>If you put &#39;<span style="font-family: courier new,monospace;">use My::App</span>&#39; just before the BEGIN, it runs fine but launches the whole catalyst server stuff. <br><br>So I suspect this is a bug. <br><br>P.S - my version of catalyst<br>
.----------------------------------------------------------------------------.<br>| Catalyst::Plugin::ConfigLoader&nbsp; 0.17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>| Catalyst::Plugin::Static::Simple&nbsp; 0.20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>
| CatalystX::ListFramework::Builder&nbsp; 0.39&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>&#39;----------------------------------------------------------------------------&#39;<br><br>