more useful options | |
PerlMonks |
Re: Is this ancient perl or just a cargo cult?by boftx (Deacon) |
on Nov 01, 2013 at 06:12 UTC ( [id://1060712]=note: print w/replies, xml ) | Need Help?? |
If you squint just a little bit it's not that hard to move back and forth between this:
and this:
As others have already pointed out above, there are some performance perks to using a blessed array ref instead of a hash ref, but I think many of us back then felt that a hash ref was just more "natural" for an object (can the old far.... err ... C programmers like me say "struct"? I knew you could.)
The answer to the question "Can we do this?" is always an emphatic "Yes!" Just give me enough time and money.
In Section
Seekers of Perl Wisdom
|
|