Just to see what the command line is each time... we're really just getting into prints for the sake of debugging here... I'm not sure why it's not working.$cmd = "/usr/bin/lpstat -h $server_name -o"; print $cmd, "\n"; @STATUS = qx/$cmd/;
In reply to Re^5: passing vars to a sub
by RazorbladeBidet
in thread passing vars to a sub
by tcf03
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |