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.

Reply via email to