in reply to Re: passing a hash ref in a sub
in thread passing a hash ref in a sub

There is indeed more than one way to explain references, and to date I don't believe anyone has found an optimal way. ;)


Dave

Replies are listed 'Best First'.
Re^3: passing a hash ref in a sub
by haukex (Archbishop) on Oct 31, 2018 at 15:34 UTC
    There is indeed more than one way to explain references, and to date I don't believe anyone has found an optimal way. ;)

    Yep, in my experience it differs from person to person which kind of an explanation will make it "click" :-)

    (And just to be clear, your explanation is very good and my post was in no way intended to be a commentary on it - hence the TIMTOWTDI comment!)

      Thanks to both of you. Very clear explanations. I will stick on return value in the future. F.