On Nov 15, 2009, Uri Guttman <u...@stemsystems.com> wrote: 

>>>>> "PK" == Parag Kalra <paragka...@gmail.com> writes:

>and yes, that is declaring a constant. you can tell it is a hash as it
>is initialized to a hash reference. it makes little sense to me why you
>would declare such a beast as the reference can have its contents
>altered and so it really isn't constant. the symbol 'cache_result' can't
>have its value changed from the initial hash reference.


I would say it's an anonymous hash instead of a hash reference. :)

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to