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

Sebastian Riedel sri at oook.de
Wed Mar 1 03:24:12 CET 2006


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




More information about the Catalyst mailing list