in reply to Re: Re: Data Dumper help
in thread Data Dumper help
As a side note, with such complex data structures, I frequently find the output hard to read unless I tweak the indent:
my $name = $mib->compile('att_ds1'); $Data::Dumper::Indent = 1; print Dumper($name);
The output is then similar to the following:
$VAR1 = { 'tree' => { 'att-products' => { '9' => 'att-cnmAgent' }, 'attCNMds1ErrorsTable' => { '1' => 'attCNMds1ErrorsEntry' }, 'attCNMds1ErrorsEntry' => { '9' => 'attCNMds1ESs', '1' => 'attCNMds1ErrorsIndex', '2' => 'attCNMds1ErrorsInterval', '3' => 'attCNMds1ErrorsTimeStamp' }, 'enterprises' => { '74' => 'att-2' }, 'attCNMds1StatusTable' => { '1' => 'attCNMds1StatusEntry' }, 'attCNMds1StatusEntry' => { '1' => 'attCNMds1StatusIndex', '2' => 'attCNMds1LineStatus' }, 'att-2' => { '1' => 'att-products', '2' => 'att-mgmt' }, ###
Cheers,
Ovid
New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Data Dumper help
by Anonymous Monk on Feb 28, 2003 at 18:37 UTC | |
|
Re: Re: Re: Re: Data Dumper help
by xmath (Hermit) on Feb 28, 2003 at 18:55 UTC | |
|
Re: Re: Re: Re: Data Dumper help
by Anonymous Monk on Feb 28, 2003 at 18:24 UTC | |
by Anonymous Monk on Feb 28, 2003 at 18:35 UTC |