Actually, it wasn't all *that* long ago when the -> wasn't optional in that construct (I believe 5.006 is when that happened and perldelta agrees with me).
It is getting close to long enough ago that I'd forget this fact -- except that I tend to answer a lot of questions from people about Perl and many of those people have surprisingly old versions of Perl. (:
- tyeIn reply to Re^2: Shortening "$bar{foo} if exists $bar{foo}"? (nit)
by tye
in thread Shortening "$bar{foo} if exists $bar{foo}"?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |