These two suggestions pointed me in the right direction.  However it's a bit 
tricky:

You substitute talentspace_portal2->path_to('pathpart1', 'pathpart2') with

__path_to(pathpart1/pathpart2)__

The docs say it should be __path_to('pathpart1/pathpart2')__ with single quotes 
but that didn't work for me,
the quotes became part of the string.  Does anyone know if the docs are just a 
bit off or is there something
wrong with my system?  --john

----- Original Message ----
From: Robert 'phaylon' Sedlacek <[EMAIL PROTECTED]>
To: John Napiorkowski <[EMAIL PROTECTED]>; The elegant MVC web framework 
<[email protected]>
Sent: Wednesday, July 12, 2006 10:44:13 PM
Subject: Re: [Catalyst] newbie YAML question

John Napiorkowski said:
>
>     - talentspace_portal2->path_to( 'tt_templates' )
>
> I actually need to set the include path because I have several sets of
> views each rooted to a different directory.  However the above doesn't
> work.  This is because it gets parsed by YAML into:

The Catalyst::Plugin::ConfigLoader docs can tell you more about __HOME__ &
Co. which is to my belief what you are looking for. Check the
finalize_config documentation.

hth, p





_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to