On Thu, 10 Aug 2000 13:22:46 +1000 (EST), Damian Conway wrote: >The RFC I'm writing specifies that if the subroutine being called has >a lazy context specifier on a given argument, that argument is only >evaluated when the value of the corresponding element of @_ is fetched, >stored, or eval'd. > >So the subroutine that's being called is the one that decides. If this is the only rule, I wholeheartedly agree. Now, the only operators that do lazy eval are the booleans: 'and', 'or', '&&' and '||'. So here too it's the operator/function that decides. -- Bart.
- Re: RFC 73 (v1) All Perl core ... Steve Simmons
- Re: RFC 73 (v1) All Perl core ... Dan Sugalski
- overloading assignment operato... David L. Nicol
- Re: overloading assignment ope... Dan Sugalski
- Re: RFC 73 (v1) All Perl core func... Damian Conway
- Re: RFC 73 (v1) All Perl core ... Nathan Torkington
- Re: RFC 73 (v1) All Perl core ... Dan Sugalski
- Re: RFC 73 (v1) All Perl core ... Damian Conway
- Re: RFC 73 (v1) All Perl core ... Chaim Frenkel
- Re: RFC 73 (v1) All Perl core ... Damian Conway
- Re: RFC 73 (v1) All Perl core ... Bart Lateur
- Re: RFC 73 (v1) All Perl core ... Chaim Frenkel
- Re: RFC 73 (v1) All Perl core ... Damian Conway
- Re: RFC 73 (v1) All Perl core ... Chaim Frenkel
- Re: RFC 73 (v1) All Perl core ... Damian Conway
- Re: RFC 73 (v1) All Perl core ... David L. Nicol
- Re: RFC 73 (v1) All Perl core ... Damian Conway
- Re: RFC 73 (v1) All Perl core ... Dan Sugalski
- Re: RFC 73 (v1) All Perl core functions sho... Chaim Frenkel
- Re: RFC 73 (v1) All Perl core functions should return ob Hildo Biersma