in reply to •Re: explanation of constant syntax?
in thread explanation of constant syntax?
I understand that the bareword FOO inside the parens is similar to when it's inside @{[...]} because it causes the subroutine created by the constant pragma to be called rather than FOO to simply be used as a hash key.
Would you elucidate on why this happens or point me to the right perldoc to read on this subject?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: explanation of constant syntax?
by merlyn (Sage) on Mar 20, 2004 at 18:22 UTC |