Hi guys, I think I found the exact source to my problem: it's the taint mode, as always. From CGI Programming:
@INC will not include the current working directory. If your script needs to require or use other Perl code in the current directory, you must explicitly add the current directory to @INC ... Well, I tried that, using a BEGIN block like: BEGIN { push @INC, ('.'); $ENV{PATH} = "/usr/sbin"; delete @ENV{ qw( IFS CDPATH ENV BASH_ENV) }; } That did the trick! Thanks for your help! BTW, p. 210 of CGI Programming also mentions why deleting certain environment variables is a good thing to do (in addition to using taint mode). - Jan -- Common sense is what tells you that the world is flat. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>