And you will need to remove the taint flag, else perl will rightly complain that it's too late for that. You can use it on the command line instead. I'd leave the warnings flag there though, if I were you. Slightly defeats the object to use it only when you can't see the output..
I would advise against this, leave the -T in the program and add it as a command line switch to avoid the 'Too late for Taint' message. If you run around adding and removing the -T ,you open your script up for the mistake of forgetting to put it back in.
perl -T script.cgi name=value
| Unix - where you can throw the manual on the keyboard and get a command |
In reply to Re: Re: Calling cgi from the command line
by grep
in thread Calling cgi from the command line
by Baz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |