Juerd wrote:
Just typing "my " before the first use of a variable isn't hard, and it
makes things much clearer for both the programmer and the machine.
Does this imply that it's now possible to type C, and
declare @foo? In the current perl, this doesn't work -- it's a syntax
error. It'd certai
James Mastros wrote:
Juerd wrote:
Just typing "my " before the first use of a variable isn't hard, and it
makes things much clearer for both the programmer and the machine.
Does this imply that it's now possible to type C,
and declare @foo? In the current perl, this doesn't work -- it's a
synta
James Mastros writes:
> Juerd wrote:
> >Just typing "my " before the first use of a variable isn't hard, and it
> >makes things much clearer for both the programmer and the machine.
> Does this imply that it's now possible to type C, and
> declare @foo? In the current perl, this doesn't work --
On Sun, 2004-12-19 at 20:25 -0600, Rod Adams wrote:
> One of the other reasons in favor of the idea was aesthetic.
>
> # stuff which declares $x, $z, and $q
>
> $x = 4;
> my $y = 7;
> $z = 12;
> my $r = 4543;
> $q = 121;
>
> compared to:
>
> # stuff which declares $x, $z, and $q
>
> $x = 4;
>