http://qs321.pair.com?node_id=801532


in reply to Re: Referencing in advanced data structures
in thread Referencing in advanced data structures

fullermd hats off, I stand in obligation and gratitude. I saw the length of the reply and I was happy that you took it upon yourself to give me this amount of attention, I read it like 3 times now.. I did not know my confusion was deeper than I thought until I read your clarification on the dereferencer %{} and why in this case we used ${} instead. Also the arrow operator can be implicit when in "$struct->{hashRef}{fruit}" which still does the same thing as if explicitly specified "$srtuct->{hashRef}->{fruit}", this particular bit used to drive me crazy because I started to use some basic modules before having learnt this advanced form of referencing and some examples were going this way and others going the other way and whatnot. Now my life is a lot easier.

I got my fangs shiny looking ${${$struct}{hashRef}}{fruit}, romps of obfuscations can be my thing after all if I understand this fair enough.

tye needless to say that the link you provided me has served to solidify my understanding of fullermd contribution and at the same time provide me a place to quickly look at for things. Mastering this aspect of Perl isn't so smooth a walk but I guess once you have it you are so good to go down many roads. Appreciation to you for having made that post nearly 10 years ago.


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.