in reply to Re^5: Data::Dumper is returning empty
in thread Data::Dumper is returning empty

Copy and paste error on my part. The hash is accessed via the ref in $nic, so $nic needs to be derefed. Fixed in grandparent.

Replies are listed 'Best First'.
Re^7: Data::Dumper is returning empty
by MikeDexter (Sexton) on Jan 19, 2010 at 19:53 UTC

    what does fixed in grandparent mean?

        ikegami You have been wonderful. This code is so much closer to being finished with your help and the help of the cb. So far, I am making your suggested changes and everytime I do I fall back to a previous issue which is my fault for missing something. Often I fall back into a scoping issue.

        At the moment I am having the following error:

        cccadm@ccasec1::perl: ./sec-test.pl Global symbol "%nic" requires explicit package name at ./sec-test.pl line 147. Execution of ./sec-test.pl aborted due to compilation errors (#1) (F) You've said "use strict vars", which indicates that all variables must either be lexically scoped (using "my"), declared beforehand using "our", or explicitly qualified to say which package the global variable is in (using "::"). Uncaught exception from user code: Global symbol "%nic" requires explicit package name at ./sec-test.pl line 147. Execution of ./sec-test.pl aborted due to compilation errors. at ./sec-test.pl line 195

        I am not sure if you saw my up post but I have updated my my scratchpad with the full script so you can see all the progress so far.