By the way, use IO::Interface::Simple. It's more reliable than screenscraping ifconfig output.
Also, use warnings and strict. This will help you to prevent many stupid errors which can otherwise occur easily.
Edit: removed somewhat offensive part of the message caused by misunderstandingIn reply to Re: need to remove the extra line in regular expression
by aitap
in thread need to remove the extra line in regular expression
by ulaksh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |