Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl in CGI

by pelagic (Priest)
on Oct 28, 2004 at 10:52 UTC ( [id://403345]=note: print w/replies, xml ) Need Help??


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....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://403345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-04-16 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found