![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
On Tue, 8 Jul 2003 08:20:15 -0400, "Murray *TMM*" forums (AT) HAHAgreat-web-sights (DOT) com> wrote: #!/usr/bin/perl -wT but isn't that octothorpe a comment tag? Yes. It is. However, that's also the way the path to Perl is specified. It's commonly referred to as the "shebang" line. To further dissect that particular line, the -w turns on warnings to display any warnings or errors. The -T parameter turns on Taint mode, which means that variables that come from outside the script cannot modify files or other processes without first being "cleaned" or checked by the script. Taint mode is STRONGLY recommended for any script that uses user supplied data, like from a form. The -wT is simply a combination of the two. Gary |
#2
| |||
| |||
|
|
Thanx, Gary! |
![]() |
| Thread Tools | |
| Display Modes | |
| |