diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-08-25 00:08:57 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-08-25 00:08:57 +0000 |
commit | cf6f4e918622ec80f33cb4c23b8f8c844c6c0755 (patch) | |
tree | 37282e9fcecd6094d96b0d0a143ebe488b3fd9df /pod/perlmod.pod | |
parent | 80aa68723ca7201f1a26665f8eaba212685e5869 (diff) | |
download | perl-cf6f4e918622ec80f33cb4c23b8f8c844c6c0755.tar.gz |
Fix a minor nit regarding Exporter.
Diffstat (limited to 'pod/perlmod.pod')
-rw-r--r-- | pod/perlmod.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlmod.pod b/pod/perlmod.pod index 9aa4729b4d..9a1f222174 100644 --- a/pod/perlmod.pod +++ b/pod/perlmod.pod @@ -201,8 +201,8 @@ symbols. Or it can do a little of both. For example, to start a normal module called Fred, create a file called Fred.pm and put this at the start of it: - package Fred; - require Exporter; + package Fred; + use Exporter (); @ISA = qw(Exporter); @EXPORT = qw(func1 func2); @EXPORT_OK = qw($sally @listabob %harry func3); |