in reply to Multiple FOREACH loops in a MIME::Lite::TT template

Me solved, me solved!

After re-re-re-reading my post, I noticed that in my template I had a lower-case 'in' within the 'renewal' FOREACH loop. Apparently, that has an impact.

After changing:

[% FOREACH item in renewals %]

...to:

[% FOREACH item IN renewals %]

...I seem to be receiving my desired output within the email message, which is consistent with my Dumper output.

Apparently, just venting to the Monks provides enough magic that allows someone to notice small oddities immediately ;)

Cheers,

-sb

Replies are listed 'Best First'.
Re^2: Multiple FOREACH loops in a MIME::Lite::TT template
by planetscape (Chancellor) on Jun 29, 2010 at 02:58 UTC
    Apparently, just venting to the Monks provides enough magic that allows someone to notice small oddities immediately ;)

    Indeed, it is an oft-observed phenomenon. See On Asking Questions of Bears.

    HTH,

    planetscape

      Thanks planetscape, that read really made me feel content. That is an honestly relaxing read.

      Looking at it in hindsight, it's like a self-help for anyone who is experiencing an overwhelming feeling of near collapse due to "I-think-I-failed, and I want to cry for help!" ;)

      Thanks, and regards,

      Steve