in reply to open(), ipc and some problems

I don't understood your "ipconfig bla1", but suposese a simple argument...

open(STATUS, "ipconfig /all |"); while (<STATUS>) { print $_ if ( /Physical/ ); } close(STATUS); __END__ Physical. . . . : xx-xx-xx ...

If only needs to execute ipconfig with parameters its correct. If need other interacts maybe needs try other open forms.

--
Marco Antonio
Rio-PM

Replies are listed 'Best First'.
Re^2: open(), ipc and some problems
by avaurus (Initiate) on May 12, 2005 at 07:15 UTC
    hi, ipconfig bla1 was just an example :)...of course "bla1" does not exist. Thank you.