Take a look at errno.h in your local C compiler include directory. 13 translates to EACCESS which marries up with your 'permission denied'.
From that I guess it is safe to assume that perl.exe uses the appropriate unix-style error code as exit values.
It would be nice if this was tagged in perlrun somewhere, but it probably the default expectation for unix tools and so doesn't rate a mention.
In reply to Re^3: ActivePerl exit codes
by BrowserUk
in thread ActivePerl exit codes
by qadwjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |