On Fri, Aug 18, 2000 at 10:27:27AM -0500, Jarkko Hietaniemi wrote:
> Error proneness? (Is that a word?)
Looks like a word to me :-)
> sub foo {
> my $lvalue;
> ...
> return $lvalue if want('LVALUE');
> }
Hrm. You're right.
sub foo {
return \$rvalue if want('LVALUE');
}
(I'm just operating under the mode that "lreturn is icky, we can do
better", but I don't know what "better" is)
-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]
- RFC 132 (v1) subroutines should be able to return an l... Perl6 RFC Librarian
- Re: RFC 132 (v1) subroutines should be able to re... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should be able t... Jonathan Scott Duff
- Re: RFC 132 (v1) subroutines should be ab... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should b... Jonathan Scott Duff
- Re: RFC 132 (v1) subroutines sho... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines should be ab... Johan Vromans
- Re: RFC 132 (v1) subroutines should be ab... Damian Conway
- Re: RFC 132 (v1) subroutines should b... Jarkko Hietaniemi
- Re: RFC 132 (v1) subroutines sho... Nathan Wiger
- Re: RFC 132 (v1) subroutines sho... Damian Conway
- Re: RFC 132 (v1) subroutines should b... Damian Conway
- Re: RFC 132 (v1) subroutines sho... Chaim Frenkel
- Re: RFC 132 (v1) subroutines should be able to re... Randal L. Schwartz
- Re: RFC 132 (v1) subroutines should be able t... Johan Vromans
