My guess at first sight of your description is that the shebang line - the line that points to the interpreter (on unixy systems most often: #!/usr/bin/perl) is either missing, wrong in its syntax, does not point to an existing Perl interpreter or has been misplaced (not as first line).
Perhaps some more code would help us to properly diagnose the problem? Be sure to enclose your code in <code></code> tags.
In reply to Re: use: command not found error
by shigetsu
in thread use: command not found error
by maximus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |