#specify interface on commandline or here my $iface = $1 || 'eth0';
$1 is only valid after a successful regular expression match with capturing parentheses.
That should be:
#specify interface on commandline or here my $iface = shift || 'eth0';
In reply to Re: Tk Bandwidth use indicator
by jwkrahn
in thread Tk Bandwidth use indicator
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |