SPUG: Precedence question

Jacinta Richardson jarich at perltraining.com.au
Mon Jan 22 15:50:35 PST 2007


veritosproject at gmail.com wrote:
> does @$foo[3] parse as (@$foo)[3] or @{$foo[3]}?

I would argue, that regardless of the answer, you should probably explicitly
show your intent by using one of options on the right so that your maintainer
doesn't have to ask.

	J

-- 
   ("`-''-/").___..--''"`-._          |  Jacinta Richardson         |
    `6_ 6  )   `-.  (     ).`-.__.`)  |  Perl Training Australia    |
    (_Y_.)'  ._   )  `._ `. ``-..-'   |      +61 3 9354 6001        |
  _..`--'_..-_/  /--'_.' ,'           | contact at perltraining.com.au |
 (il),-''  (li),'  ((!.-'             |   www.perltraining.com.au   |


More information about the spug-list mailing list