in reply to Net::Domain module works only as root

As documented in system, that means ls was successfully launched, but died from signal 13. (thundergnat is mistaken.) On my system, that's SIGPIPE. (Check kill -l) Do you somehow redirect the output of the script?

Replies are listed 'Best First'.
Re^2: Net::Domain module works only as root
by psimonovsk (Novice) on Jan 09, 2010 at 16:15 UTC
    Hi guys! First of all - thanks for replies... It is just mistake in cut and paste... In code it is $rc... any way - I also see - that command fails (xterm do not open) an , when I run it as root - it works... An no - I do not use any redirection - it is just test script with 4 lines of code... Of cause problem appeared in much more complicated program, but I succeed to isolate it on 4 lines example... It also do not matter - what is a command, xterm or ls , or something else...

      Since I wasn't explicit earlier, the code works perfectly fine for me when the missing $ is added. Sorry, I have no ideas.

      Perl 5.8.8, Net::Domain 2.20.