when i do ./filename it gives error bash: ./test.pm: Permission deniedYou probably need to give your test.pm file execute permissions, like:
chmod 777 test.pm
Also, conventionally, the .pm file name suffix is reserved for Perl module files (see package). It is more common to use the .pl file extension for scripts.
In reply to Re^3: how to run this script (permissions)
by toolic
in thread how to run this script
by kurtcobain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |