R. Joseph Newton wrote:

&print_if_Warn if (system("nstat -a") / 256);

&print_if_Fatal if (system("netstat -nr") / 256);


Works fine as:
print_if_Warn() if (system("nstat -a") / 256);
print_if_Fatal() if (system("netstat -nr") / 256);



Yes, so long as you dont use

perl -w progname

Otherwise you get:

Useless use of a constant in void context at sxWARN line 12.
Useless use of a constant in void context at sxWARN line 13.

Cheers!
-Bill-
__Sx__________________________________________
http://youve-reached-the.endoftheinternet.org/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to