var.undef component and loop errors with strict in CGI script
"Campbell, Jesse" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
I have a PTT based script I've been using for over a year that works fine when run from the shell, returns something like this: 00000002 00000015 00000025 00000026 00000027 00000028 00000029 00000030 When I run the script through CGI/apache, I get this instead: var.undef error - undefined variable: componentvar.undef error - undefined variable: loop00000002 00000015 00000025 00000026 00000027 00000028 00000029 00000030 Any ideas? I can turn off strict, then it seems to work just fine, but I haven't seen these errors before and I'm concerned what else may crop up. Any specific code snippets that might help? Thanks! -Jesse