summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-10-18 17:32:21 +0000
committerjoe <joe@FreeBSD.org>2000-10-18 17:32:21 +0000
commitc3bcc6f189120bad5ee2b89fe6ef733c66bf3287 (patch)
tree703b5437dcb18bec9617b1b0da43f5a7d8b9ae54 /share
parentaa9061a17f9d8556fbb9bac67f373b2bd12b82e2 (diff)
downloadFreeBSD-src-c3bcc6f189120bad5ee2b89fe6ef733c66bf3287.zip
FreeBSD-src-c3bcc6f189120bad5ee2b89fe6ef733c66bf3287.tar.gz
There are enough examples of using 'my $var = ...' definitions, so remove
one.
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/style.perl.77
1 files changed, 0 insertions, 7 deletions
diff --git a/share/man/man7/style.perl.7 b/share/man/man7/style.perl.7
index e1387a1..83fa29d 100644
--- a/share/man/man7/style.perl.7
+++ b/share/man/man7/style.perl.7
@@ -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
OpenPOWER on IntegriCloud