in reply to Why is the valu of the hash not geting printed

The obscure methodology of Perl's object orientation system has thrown you off here... remove the reference to $self and it should work :

 my ($hash)  = @_; L

Replies are listed 'Best First'.
Re^2: Why is the valu of the hash not geting printed
by Anonymous Monk on Nov 07, 2011 at 07:46 UTC
    Ignore that capital L as well.
      Thank you ..It works just fine :)