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)
In reply to Re: Re: Re: Data Dumper help
by Ovid
in thread Data Dumper help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |