- or download this
#!/usr/bin/perl -w
################################
...
printf "%s\n",join(",",keys %ifTable);
- or download this
vmnet1,lo,wlan0,vmnet8,eth0
- or download this
:
: much handwaving here
...
:
: I didn't test that, but should work...
:
- or download this
:
:
print "It's there\n" if $ifTable{'eth1'}; # or whatever
:
: