maturing code
Monday, November 11, 2002, at 07:28PM
By Eric Richardson
It's funny looking back on the different levels of coding style I've been at throughout the years. Today in some work I was doing in eThreads I ran across this gem:
${${$g}[1]}{title}
Yeah... That's readable... From inside to out, a ref to an array whose element contains a ref to hash that has an element named title. Of course, the proper way to write that is:
$g->[1]->{title}
Obviously I did not know this at the time.