<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space"
bgColor=#ffffff>
<DIV><B>From:</B> <A title=email@jasonkohles.com
href="mailto:email@jasonkohles.com">Jason Kohles</A> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV>
<BLOCKQUOTE type="cite">
<DIV style="MARGIN: 0px">Hi,</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><FONT face=Arial size=2></FONT><BR></DIV>
<DIV style="MARGIN: 0px">Please tell me how can I find the list of reserved
words that cannot be used as names for views, controllers, models,
$c->stash elements...</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV style="MARGIN: 0px">For example I have seen that the name of the
application is also found in $c->stash->{name}.
$c->stash->{template} is also special.</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV style="MARGIN: 0px">I have also tried to create a view with the name
"Show", and I have received the following error in the browser:</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV style="MARGIN: 0px">Caught exception in
TranzactiiBursiere::View::Show->process "TranzactiiBursiere::View::Show
directly inherits from Catalyst::View. You need to</DIV>
<DIV style="MARGIN: 0px">inherit from a subclass like Catalyst::View::TT
instead.</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><BR></DIV>
<DIV style="MARGIN: 0px">If I changed the name of that view to "Html", it
worked fine, with no errors...</DIV>
<DIV style="MIN-HEIGHT: 14px; MARGIN: 0px"><FONT face=Arial
size=2></FONT><BR></DIV></BLOCKQUOTE></DIV>
<DIV><FONT face=Arial size=2></FONT><BR class=khtml-block-placeholder></DIV>
<DIV>This is the error message you get if you create a subclass of
Catalyst::View that doesn't implement a process() method. It probably
doesn't have anything to do with the name of the module...</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>I have tried:</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>perl script/myapp_create.pl view
Show</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>After restarting the application, it gives that
error. If I do instead:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>perl script/myapp_create.pl view
Html</FONT></DIV>
<DIV> </DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>The application works fine after restarting it.
Am I doing something wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Octavian</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BODY></HTML>