in reply to Re: hash ref is empty inside subroutine
in thread hash ref is empty inside subroutine

Thanks CountZero
  • Comment on Re^2: hash ref is empty inside subroutine

Replies are listed 'Best First'.
Re^3: hash ref is empty inside subroutine
by LanX (Saint) on Sep 13, 2013 at 21:18 UTC
    Ok w/o ironies ... why don't you show some code?

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      Rolf, Here is how my code looks In script.pl,dumper prints as below
      print Dumper($data_href); output1: $VAR1 = { 'Node' => 'TestServer' }; $obj->check_data($data_href);
      ----------------
      dataclass.pm sub new { ... } sub check_data { my ($self, $args) = @_; print Dumper($args); }
      ---------------