good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello all, I'm using strict; with a basic email program. I have some html code (in my main perl script) that prints out a form that a user fills out. I have also created a config file that creates an array called @fields. So for each element in @fields I want to print out:
and so ... However when I use strict; I get the following error:
The error line corresponds to:
but it obviously has a problem with the my @fields reference. How can I use strict; and also use a separate config file? I want the config file so that my scripts can be portable. Is it a bad idea to use config file? If not then how can I make them work under strict; thanks in advance. Edited 2001-11-11 by Ovid In reply to using strict and a config file by lex2001
|
|