abkhan has asked for the wisdom of the Perl Monks concerning the following question:

If you are using the following statement

my $rx_packets = $get_Iface_data->value($Iface, 'rx_packets');

How would you declare the variable $get_iface_Data
  • Comment on declaring variables used in Net::Int::Stats

Replies are listed 'Best First'.
Re: declaring variables used in Net::Int::Stats
by CountOrlok (Friar) on Apr 17, 2013 at 21:00 UTC
    Take a look at the documentation for Net::Int::Stats

    The first two lines below SYNOPSIS have your answer.