Results 1 to 5 of 5

Thread: Perl scripts cause Internal Server Errors

  1. #1

    Thread Starter
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    I think there needs to be another slash in front of 'usr'. If you don't know where perl is located, type 'which perl' or 'whereis perl' at the command line to see.
    Alcohol & calculus don't mix.
    Never drink & derive.

  2. #2
    denniswrenn
    Guest
    *Ooops* Typo

  3. #3
    Member
    Join Date
    Aug 2001
    Location
    HH
    Posts
    41

    Exclamation Thank you!

    Thanks, people!

    But the problem clearly isn't the shebang line, for it worked fine before. Only after saving and uploading (Win2k), it doesn't work anymore.

    If it is of any help:
    The working files appear to have little blocks between the lines instead of normal line breaks (enters).


    Thanks,
    Da Byte
    -=<][])a ][}yte>=-

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Unix/Windows line termination

    Change all occurences of \r\n in your file to \n - this is why they show as little boxes under Windows. You can do it with any good hex editor
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Just realised...upload with FTP as ASCII and it should convert them for you.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width