untainting passwords

2001-08-19 Thread Kurt Edmiston
Hi, can someone tell me the proper syntax for untainting a UNIX password? if ($password_T =~ /( )/) {$password = $1;} else {$password=' ';} What goes in the ( ) ? Thanks, Kurt -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

multiple entry/exit points

2001-07-12 Thread Kurt Edmiston
Here's a topic for discussion: Coming from C++-land, I've always been taught over and over again that all subroutines/functions/blocks/etc should have only a single entry point and a single exit point. "It's just good programming practice." But now in the world of Perl, I've observed that a

Taint mode

2001-05-27 Thread Kurt Edmiston
Hi, I'm trying to use taint mode on one of my cgi programs using the -T flag. #!/usr/local/bin/perl -wT When I check the syntax with "perl -c file.cgi" I get the following message: Too late for "-T" option at manager.cgi line 1. It smells like an error message, but it doesn't seem to affect t