This is certainly obvious for everyone out there:
how should I set eval_perl ?????
I have a file etc/ttree.cfg in a project directory ~/run/bookmarks:
        src = ~/run/bookmarks/src
        lib = ~/run/bookmarks/lib
        lib = ~/run/bookmarks/input
        dest = ~/run/bookmarks/html
        ignore = ~$
        ignore = \.swp$
        pre_process = config
        pre_process = header
        post_process = footer
        eval_perl = '1'
I tried eval_perl = on, eval_perl = set, etc....
ttree -f bookmarks gives the output:
ttree 2.58 (Template Toolkit version 2.09)

      Source: /home/jorge/run/bookmarks/src
 Destination: /home/jorge/run/bookmarks/html
 Include Path: [ /home/jorge/run/bookmarks/lib, /home/jorge/run/bookmarks/input ]
       Ignore: [ \b(CVS|RCS)\b, ^#, ~$, \.swp$ ]
        Copy: [ \.png$, \.gif$ ]
      Accept: [ * ]

+ bookmarks.html
! perl error - EVAL_PERL not set
- bookmarks.html~                  (ignored, matches /~$/)

The thing works if I do
        ttree -f --EVAL_PERL bookmarks
but this is not what I want...
So please what am I doing wrong?
-- 
Jorge Almeida

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to