Using the following code gives a different error about scoping
Global symbol "%nic" requires explicit package name
for my $nic (networkInfo()) { print "Device: $nic{device} has IP Address $nic{ip}\n" . "\tMask: $nic{mask}\n" . "\tBroadcast: $nic{bcast}\n"; print "Device: $nic{device} also IPv6 address $nic{ip6}\n" if defined($nic->{device}); }
In reply to Re^5: Data::Dumper is returning empty
by MikeDexter
in thread Data::Dumper is returning empty
by MikeDexter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |