> The => (fat arrow) auto-quotes the left-hand operand as long as it's a
> bareword.
>
> foo => 'bar'
>
> is the same as
>
> 'foo' => 'bar'
And also my experiences show that this auto-quotation applies for {}'s as
well:
$hash{"element"} is the same as $hash{element} ?.
Balazs Pozsar.
--
- Re: pointers to subs? Brett W. McCoy
- RE: pointers to subs? John Edwards
- RE: pointers to subs? Jeff 'japhy' Pinyan
- RE: pointers to subs? Pozsar Balazs
- RE: pointers to subs? Jeff 'japhy' Pinyan
- quotation marks Pozsar Balazs
- Re: quotation marks Paul
- Re: quotation marks Jeff 'japhy' Pinyan
- Re: quotation marks Paul
- Re: quotation marks Jeff 'japhy' Pinyan
- RE: pointers to subs? Pozsar Balazs
- RE: pointers to subs? Tony Cook
- Re: pointers to subs? Paul Johnson
- RE: pointers to subs? Brett W. McCoy
- Re: pointers to subs? Michael Fowler
- Re: pointers to subs? Jos I. Boumans
- RE: pointers to subs? Paul
- RE: pointers to subs? Brett W. McCoy
