On Mon, Sep 25, 2000 at 09:10:49PM -0700, Nathan Wiger wrote:
> if ( want->{count} > 2 ) { return $one, $two }
>
> Will that be interpreted as:
>
> 'want'->{count}
> want()->{count}
>
> To be consistent, it should mean the first one. That is, the infix
> operator -> should always autoquote the bareword to the left. Am I
> correct in assuming that's what you meant?
Yes. Use want()->{count} instead. Or, better,
use want;
wantCount;
Ilya
- RFC 244 (v1) Method calls should not suffer from the a... Perl6 RFC Librarian
- Re: RFC 244 (v1) Method calls should not suffer f... Michael G Schwern
- Re: RFC 244 (v1) Method calls should not suffer f... Nathan Wiger
- Re: RFC 244 (v1) Method calls should not suff... John Porter
- Re: RFC 244 (v1) Method calls should not suffer f... John Porter
- Re: RFC 244 (v1) Method calls should not suff... Tom Christiansen
- Re: RFC 244 (v1) Method calls should not suffer f... Nathan Wiger
- Why -> cannot autoquote the LHS (was Re: R... Ilya Zakharevich
- Why -> cannot autoquote the LHS (was Re: RFC 2... Nathan Wiger
- Accessing perl's command line switches Chaim Frenkel
- Re: Why -> cannot autoquote the LHS (was R... Glenn Linderman
- Re: RFC 244 (v1) Method calls should not suffer f... Ilya Zakharevich
- Re: RFC 244 (v1) Method calls should not suff... Nathan Wiger
- Re: RFC 244 (v1) Method calls should not ... Ilya Zakharevich
- Re: RFC 244 (v1) Method calls should ... Nathan Wiger
- Re: RFC 244 (v1) Method calls sh... Ilya Zakharevich
- Re: RFC 244 (v1) Method calls should not ... Tom Christiansen
