[Catalyst] Catalyst::Manual::Tutorial - "Configuring" problem

Daniel McBrearty danielmcbrearty at gmail.com
Sun Mar 5 08:06:32 CET 2006


OK, the problem was simple - I put greet.tt in TestApp/root/templates - it
needs to be in

TestApp/templates

(i.e. the pat is relative to the project root, not the dir called "root" ...
of course ...)

thanks for pointing me to the example which clarified things quickly

On 3/1/06, Daniel McBrearty <danielmcbrearty at gmail.com> wrote:
>
> OK, thanks for the clarification. I'll take another look at it in the next
> couple of days.
>
>
> On 3/1/06, Sebastian Riedel < sri at oook.de> wrote:
> >
> >
> > 28.02.2006 20:58 Daniel McBrearty:
> >
> > > Hi all
> > >
> > > I'm a newbie to catalyst though have done a fair bit of perl and
> > > some mod_perl. In the process of checking out this nice looking
> > > framework ...
> > >
> > > I have one problem though. In the "configuring" section of the tut,
> > > where it says:
> > > "To do this, change the config call in tutorial.pm like this:"
> > >
> > > ... there is NO "config call" in MyApp.pm before I add this code.
> > > After I do add the code (changing tutorial to myapp) I get
> > > "greet.tt not found errors", so I assume that the config isn't
> > > working. If I leave greet.tt in rott, evrything is fine.
> > >
> > > Is this me or is the tut a bit out of date?
> >
> > Yes it is a bit out of date.
> >
> > catalyst.pl will no more generate the config call in MyApp.pm,
> > instead it will create a YAML file. (The config call will still work,
> > this is just a more elegant default) ;)
> >
> >
> > --
> > sebastian
> >
> >
> > _______________________________________________
> > Catalyst mailing list
> > Catalyst at lists.rawmode.org
> > http://lists.rawmode.org/mailman/listinfo/catalyst
> >
>
>
>
> --
> Daniel McBrearty
> email : danielmcbrearty at gmail.com
> www.engoi.com : the multi - language vocab trainer
> BTW : 0873928131
>



--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060305/d2e0fc79/attachment.htm 


More information about the Catalyst mailing list