Todd Rinaldo

Results 202 comments of Todd Rinaldo

How would this work with pre-compiled templates?

``` $>perl -Mblib -MTemplate -wE'my $temp = q{[% PERL %] printf "The current timestamp is %d\n", time(); [% END %]}; Template->new( { EVAL_PERL => 1 } )->process(\$temp, {}); print $@';...

Might be a syntax issue. Need to investigate.

This is the closest I've come to getting testing working on github actions. It's more broken that #212 reported but they were running windows 7 32 bit. https://github.com/toddr/Template2/commit/2019353245bc7cd673f0cc81ce9ad7e89cfb19b8/checks?check_suite_id=367911383

Looks like it stores as: ``` # 'VARIABLES' => { # 'A' => {}, # 'B' => { # 'C' => {} # } # } ```

I don't necessarily see why you were expecting ```{A => {B => { C => {} } } }```

foreach is a loop. So you're iterating once with A as the $_; but then in the loop you're not doing `$_.B.C` You're doing `B.C` I don't see how `A`...

@a-parser I'm surprised it does that but it looks like this works now?

It sounds like maybe a separate plugin would be a good idea. What do you suggest?