Vic wrote: > Hi. > I am new to perl so hope u wont flame me for asking sth stupid =)
What does "sth" mean? > > I wanna ask when running Apache 2.046 under Windows XP with mod_cgi, > how can I turn on the taint mode for the Perl interpretor? > (i guess the shebang line wont work since windows nvr look at them > anyway.) No. Perl will parse the #! line even on Win32. This is explained in "perldoc perlrun". So adding -T will enable taint mode: #!/usr/bin/perl -T > > Also is mod_perl and mod_cgi in anyway related? They are both Apache modules. mod_cgi comes with the default install; mod_perl must be installed separately. mod_perl provides an embedded Perl interpreter with many features for writing Apache handlers in Perl. > (I heard that loading both of them May cause problem since only of > them will work...) No, they can both be loaded with no problem. Your configuration will determine which requests are handled by one or the other. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]