Max Attems wrote:: second attempt, now with correct email.
: I saw an article about the list in perl.com
: today an persisting error message occured. perhaps you would now a simple
: answer.
:
: this is the code:
: #!/usr/bin/perl -Tw
: ...
: require 'conf.cgi';
:
: the conf.cgi is not mispelled and is in the same directory as the above
: script (chmod 755), but it doesn't find it, i get this error message:
It's because of the -T flag. When you put a script into taint mode, it
removes "." from the @INC (which is the list of directories in which
Perl looks for files to require).
You can fix this by giving the path to conf.cgi explicitly.
-- tdk