Subject: | Field order+names hard to discover with Fields '*' |
Date: | Tue, 08 Dec 2015 15:56:07 +1000 |
To: | bug-Net-NfDump [...] rt.cpan.org |
From: | Alexander Zangerl <alexz [...] opmantek.com> |
net::nfdump works very nicely, but if you don't pass a field list in to get
all of them, then it is pretty hard to figure out /what/ fields you do
actually get back.
the lookup tables net::nfdump::fields don't help, because the constructor
uses "values" on a hash to create the internal field list - hence it's in
different order every time you start things up.
it would be great if there was an official (readonly) accessor
to $self->{fields_txt}, so that one can ask the instance for the current
list of field names and current ordering.
regards
az
--
Alexander Zangerl
email: alexz@opmantek.com
skype: alex.zangerl
mobile: +61 415 482 341
web: https://community.opmantek.com/