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.
In reply to Re: I can see my perl code - script isn't executing
by psini
in thread I can see my perl code - script isn't executing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |