You are missing the $ sigil on $rc... Not that that is your problem.
You are not running the script with sufficient permissions. 13 is the return error code from the system call. Error number 13 is "Permission denied".
(Under linux)
Update: Sigh, I am indeed wrong as ikegami points out below. Error number 13 is "Permission denied" under Windows. That being said, maybe the missing sigil IS your problem... writing to an undefined handle perhaps?
In reply to Re: Net::Domain module works only as root
by thundergnat
in thread Net::Domain module works only as root
by psimonovsk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |