Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Ifconfig error capture

by WalkingZero (Sexton)
on Mar 12, 2008 at 22:01 UTC ( #673838=note: print w/ replies, xml ) Need Help??


in reply to Re: Ifconfig error capture
in thread Ifconfig error capture

Oy! I knew it was something obvious. I actually had to redirect STDERR and also send STDOUT to /dev/null to properly capture the data, but once that was done i just turned my conditional slightly. using an unless statement to check if the $code was null or not. Thank you very much for helping me get past my own idiocy.

"One future, two choices. Oppose them or let them destroy us" - Propaghandi


Comment on Re^2: Ifconfig error capture

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://673838]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (16)
As of 2015-07-30 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (272 votes), past polls