in reply to Perl in CGI

monoxyde,
- go check the file permissions of your uploaded file.
- verify whether you got some Windows style line endings in your script (CRLF) and remove those with eg:
perl -pi -e'tr/\015//d' your_filename

pelagic

Replies are listed 'Best First'.
Re^2: Perl in CGI
by gothic_mallard (Pilgrim) on Oct 28, 2004 at 11:02 UTC

    Permissions are definitely one to check as Apache (certainly if it's on *nix) is probably tighter on user permissions. Also, it may be case sensitive whereas Windows lets you get away with all sorts.

    --- Jay

    All code is untested unless otherwise stated.
    All opinions expressed are my own and are intended as guidance, not gospel; please treat what I say as such and as Abigail said Think for yourself.
    If in doubt ask.

      If it was permissions, it would more likely be a 'Permission Denied' error....