Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to test all TT2 tags are escaped.

by Rhandom (Curate)
on Oct 28, 2013 at 14:21 UTC ( [id://1059988]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Template::Alloy;
    my $t = Template::Alloy->new(AUTO_FILTER=>"html");
    $t->process(\qq{[% foo %]\n}, {foo => "(&)"})'
    
    (&)
    
  2. or download this
    AUTO_FILTER
    
    ...
            [% f = "&"; g = f; g %]  prints &
            [% f = "&"; g = f; g | none %]  prints & (because g = f is a S
    +ET directive)
            [% f = "&"; g = GET f; g | none %]  prints & (because the 
    +actual GET directive was called)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1059988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found