open DH, "/sbin/ifconfig 'eth0' | " or die "Could not run ifconfig"; my $data = join "", ; close DH; close DH; print "$data