Just another Perl shrine | |
PerlMonks |
Re^3: how to run this script (permissions)by toolic (Bishop) |
on Oct 05, 2012 at 17:25 UTC ( [id://997524]=note: print w/replies, xml ) | Need Help?? |
when i do ./filename it gives error bash: ./test.pm: Permission deniedYou probably need to give your test.pm file execute permissions, like:
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 Section
Seekers of Perl Wisdom
|
|