RE: [Templates] Why can't I create a list of named hashes?

[prev] [thread] [next] [Date index for 2004/11/18]

From: Jason Peck
Subject: RE: [Templates] Why can't I create a list of named hashes?
Date: 18:46 on 18 Nov 2004
Thanks Jason Gottshall and Peter Guzis! Your suggestions worked. I
really appreciate your help!

        -- 
        Jason Peck

Focus Robotics
Tel. 603.594.3097
http://www.focusrobotics.com

On Thu, 2004-11-18 at 13:20, Jason Gottshall wrote:
> > I can't understand why the following does not work:
> > 
> > [% 
> >        mod_menu =
> >        {
> >           title=> "Title",
> >           html=> "Html text"
> >        }
> >  
> >        right_modules = [
> >           $mod_menu
> >        ]
> 
> "$" is not necessary in this case (or most cases, for that matter).
> Simply write:
> 
>        right_modules = [
>           mod_menu
>        ]
> 
> and you should get the behavior you want.
> 
> _______________________________________________
> templates mailing list
> templates@xxxxxxxxxxxxxxxx.xxx
> http://lists.template-toolkit.org/mailman/listinfo/templates



_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

RE: [Templates] Why can't I create a list of named hashes?
Jason Peck 18:46 on 18 Nov 2004

Generated at 08:56 on 15 Mar 2005 by mariachi v0.52