summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2003-02-17 08:09:23 +1100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-02-19 21:31:43 +0000
commitd9ba819c51d7d5aa20fa6b495b139a3f34eb63eb (patch)
tree5f9bb470427a735baa9daa7dd070516b64773a2e
parent5b88253beb15ba0b9f2b2ef15037de4950b82796 (diff)
downloadperl-d9ba819c51d7d5aa20fa6b495b139a3f34eb63eb.tar.gz
5.8.0: typo in pod/perlcompile.pod
Message-ID: <20030216100923.GA29761@londo.c47.org> p4raw-id: //depot/perl@18755
-rw-r--r--pod/perlcompile.pod10
1 files changed, 5 insertions, 5 deletions
diff --git a/pod/perlcompile.pod b/pod/perlcompile.pod
index ef3e537f68..046576b28a 100644
--- a/pod/perlcompile.pod
+++ b/pod/perlcompile.pod
@@ -236,9 +236,9 @@ execute the bytecode that it produces. The ByteLoader module provides
this functionality.
To turn a Perl program into executable byte code, you can use C<perlcc>
-with the C<-b> switch:
+with the C<-B> switch:
- perlcc -b myperlprogram.pl
+ perlcc -B myperlprogram.pl
The byte code is machine independent, so once you have a compiled
module or program, it is as portable as Perl source (assuming that
@@ -256,15 +256,15 @@ the Perl data structures directly. The program will still link against
the Perl interpreter library, to allow for eval(), C<s///e>,
C<require>, etc.
-The C<perlcc> tool generates such executables when using the -opt
+The C<perlcc> tool generates such executables when using the -O
switch. To compile a Perl program (ending in C<.pl>
or C<.p>):
- perlcc -opt myperlprogram.pl
+ perlcc -O myperlprogram.pl
To produce a shared library from a Perl module (ending in C<.pm>):
- perlcc -opt Myperlmodule.pm
+ perlcc -O Myperlmodule.pm
For more information, see L<perlcc> and L<B::CC>.