in reply to Re^4: Error "Can't use an undefined value as a HASH reference" while working with generated objects
in thread Error "Can't use an undefined value as a HASH reference" while working with generated objects

the first method, I'm having some trouble with your second, some undeclared varibles...

Its a missing ")"

one pair for if() and another for Dive()

  • Comment on Re^5: Error "Can't use an undefined value as a HASH reference" while working with generated objects

Replies are listed 'Best First'.
Re^6: Error "Can't use an undefined value as a HASH reference" while working with generated objects
by HJO (Acolyte) on Oct 12, 2012 at 07:27 UTC

    Hi,

    Well yes it was, I also didn't used the proper way of calling the module, I check in the doc and found out, it seems to be working also just fine, thanks a lot

    PS : I was suppose to call it that way : use Data::Diver qw( Dive );