There are enough examples of using 'my $var = ...' definitions, so remove

one.
This commit is contained in:
Josef Karthauser 2000-10-18 17:32:21 +00:00
parent a4d70fdb47
commit a669270dee

View File

@ -104,13 +104,6 @@ default. Lots of perl4 scripts use
because the
.Fa my
definition didn't exist prior to perl5.
.Bd -literal -offset 0i
sub foo {
my $var = shift;
my @list = ();
...
}
.Ed
.Pp
In most cases globals should be defined at the top of the code
using a