On Mon, 7 Aug 2000 13:51:55 -0700, Jacob Davies wrote: > It's not consistent. If you use the values as $x or >> @t, then please, use $x and @t in the above syntax, as well. > >This doesn't make sense to me, because those are not variables that >are currently in-scope. They're only in-scope inside the sub you're >calling. The same goes for my($x, $y, @t); Now, you don't write my(x, y, t); do you? And yet, up to and including this very statement, the variables are not in scope yet. $\ ="\n"; $x = 10; { my $x = 2 * $x; print $x; } print $x; -- Bart.
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Jacob Davies
- Re: RFC 57 (v1) Subroutine prototypes and par... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and parameters Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and parameters Chaim Frenkel
- Re: RFC 57 (v1) Subroutine prototypes and parameters Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Piers Cawley
- Re: RFC 57 (v1) Subroutine prototypes and parameters Damian Conway
- Re: RFC 57 (v1) Subroutine prototypes and paramet... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes and par... Jacob Davies
- Re: RFC 57 (v1) Subroutine prototypes and... Bart Lateur
- Re: RFC 57 (v1) Subroutine prototypes... Nathan Wiger
- Re: RFC 57 (v1) Subroutine proto... Andy Wardley
- Re: RFC 57 (v1) Subroutine p... Bart Lateur
- Re: RFC 57 (v1) Subroutine p... Andy Wardley
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff
- Re: RFC 57 (v1) Subroutine p... Nathan Wiger
- Re: RFC 57 (v1) Subroutine p... Jonathan Scott Duff