in reply to I can see my perl code - script isn't executing

I had a similar problem once or twice and took me ages to find out that if you edit a file on (most) windows editor and then try to run it on linux, the extra <LF> at end of line prevents the correct interpretation of #!/usr/bin/perl

Rule One: Do not act incautiously when confronting a little bald wrinkly smiling man.

  • Comment on Re: I can see my perl code - script isn't executing

Replies are listed 'Best First'.
Re^2: I can see my perl code - script isn't executing
by Bloodnok (Vicar) on May 17, 2008 at 13:08 UTC
    ... but this not unexpectedly, normally results in a 'not found' error being returned by the shell.

    At last, a user level that best describes my experience :-))