`cat $1`
That doesn't make much sense. You're trying to run the contents of FileOpen.pl as a shell command...
Just write ./$1 instead and everything will be fine. The "./" part might be required, as on Unix, "." (the current directory) is typically not in the searchpath for executables (for security reasons).
In reply to Re^3: perl and shell
by almut
in thread perl and shell
by editi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |