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
In reply to Re: open(), ipc and some problems
by mda2
in thread open(), ipc and some problems
by avaurus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |