Well, I believe the => operator forces a bareword to its left to be interpreted as a string. But &sub isn't a bareword it's a subroutine call, so it works like you want it to. At least, this is my understanding. Hopefully someone will correct me if I'm wrong.
--In reply to Re: Re: Re: Re: use of constants in regex substitutions?
by edan
in thread use of constants in regex substitutions?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |