Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: How to test all TT2 tags are escaped.

by Rhandom (Curate)
on Oct 28, 2013 at 14:21 UTC ( #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
            [% 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059988]
SuicideJunkie replaces stale cookies with fresh on the platter on the sideboard.
[SuicideJunkie]: So, possibly interesting thing; I had that script which was using more than all the ram to open an absurdly large spreadsheet. I set it up to spin overnight nightly, so it stopped releasing memory since it was never fully exited.
[SuicideJunkie]: Didn't expect that to be a problem. There's plenty of disk space for swap, and the memory space would be reused the next day. But apparently virtualbox dies with a guru meditation when there's no physical memory unused on start.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-04-26 22:44 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (491 votes). Check out past polls.