hi to all!
I found a error in documentation of HTML::Template

    my $filter = sub {
      my $text_ref = shift;
      $$text_ref =~ s/!!!ZAP_(.*?)!!!/<TMPL_$1>/g;
    }
replace } with };
HERE IS ERROR after } semicolon missing!


    # open zap.tmpl using the above filter
    my $template = HTML::Template->new(filename => 'zap.tmpl',
                                       filter => $filter);


Without semicolon it doesnt work

martin


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to