in reply to Re^4: passing vars to a sub
in thread passing vars to a sub
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/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: passing vars to a sub
by tcf03 (Deacon) on Mar 11, 2005 at 17:02 UTC |