I'd bet a beer that you've got Mac line endings instead of Unix line
endings - if so, then the file looks like one long line to Perl, and
that line begins with '#' so it acts like a comment and doesn't do
anything. =)

I've found the following shell alias to be useful for converting line
endings:

  alias mac2unix 'perl -pi -e "tr/\r/\n/"'

I put it in my .login file so it's always available.


[EMAIL PROTECTED] wrote:
>I tried this but to no avail - the  file permissions are currently set at:
>
>-rwxr-xr-x  1 robinmcf  staff       788 Jul 20 02:08 App_reaper.pl
>
>the path is:
>
>/usr/bin/App_reaper.pl
>
>and the script looks like this:


  -------------------                            -------------------
  Ken Williams                             Last Bastion of Euclidity
  [EMAIL PROTECTED]                            The Math Forum

Reply via email to