Re: Pre-Processing new template and variables
Mark Haney <markh-rOuQeLG7NUhWk0Htik3J/[email protected]> Thu, 06 Sep 2012 14:25:37 -0400
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
On 09/06/2012 11:20 AM, Stephen Quinney wrote: > You've done the assignment to $tmpID for the "1000" case by using my() > inside the scope of the braces. The setting to "markh" is not going to > be seen outside of those braces, you will always get the $tmpID being > "epic" in your INCLUDE_PATH. Just removing that my() will fix the > issue. > This actually happened to be a 2 part problem. The my() in the IF statement was part of it. It's what I get for changing my mind on the fly. The other part was offered by Dave Howorth on the assignment = instead of the comparison == in the IF statement. It works now and thanks a lot guys. -- Mark Haney Software Developer/Consultant AB Emblem markh-rOuQeLG7NUhWk0Htik3J/[email protected] Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux