Below is snippet from Data::Dumper dump from a hash I have.

What is the best approach for only printing the hashes that have the
value 'ND' or hashes that have different values such as '149' does
below.

          '149' => {
                     '05' => '1',
                     '06' => '1',
                     '00' => '1',
                     '01' => '2',
                     '02' => '2',
                     '03' => '2',
                     '04' => '2'
                   },
          '077' => {
                     '05' => 'ND',
                     '06' => 'ND',
                     '00' => 'ND',
                     '01' => 'ND',
                     '02' => 'ND',
                     '03' => 'ND',
                     '04' => 'ND'
                   },
          '078' => {
                     '05' => '1',
                     '06' => '1',
                     '00' => '1',
                     '01' => '1',
                     '02' => '1',
                     '03' => '1',
                     '04' => '1'
                   },

Thank you ,

Chris

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to