http://www.perlmonks.org?node_id=998412


in reply to Re^3: 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

Waow thanks, I really didn't push the defined so far ...

I just tested it (the first method, I'm having some trouble with your second, some undeclared varibles...), It's working as well, thanks

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

Replies are listed 'Best First'.
Re^5: Error "Can't use an undefined value as a HASH reference" while working with generated objects
by Anonymous Monk on Oct 11, 2012 at 10:46 UTC

    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()

      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 );