summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2000-09-28 13:18:10 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-02 23:57:51 +0000
commitd873810b3537a2d7375918c521de90017ed077b7 (patch)
treea4cf246d37694e5507c4ca463411dc533eb03d11 /ext
parentc26893538723a2740afe1c2f89ea22856818835b (diff)
downloadperl-d873810b3537a2d7375918c521de90017ed077b7.tar.gz
[ID 20000928.002] perlcc & ByteCode.pm option mismatch
Message-Id: <E13ebha-0004IV-00@fruitbat.babyhippo.co.uk> Did not apply cleanly, manual intervention was needed. p4raw-id: //depot/perl@7117
Diffstat (limited to 'ext')
-rw-r--r--ext/B/B/Bytecode.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/B/B/Bytecode.pm b/ext/B/B/Bytecode.pm
index ef59c4af42..bea023a038 100644
--- a/ext/B/B/Bytecode.pm
+++ b/ext/B/B/Bytecode.pm
@@ -850,7 +850,7 @@ sub compile {
$compress_nullops = 1;
$omit_seq = 1;
}
- } elsif ($opt eq "P") {
+ } elsif ($opt eq "u") {
$arg ||= shift @options;
push @packages, $arg;
} else {
@@ -975,7 +975,7 @@ Prints each CV taken from the final symbol tree walk.
Output (bytecode) assembler source rather than piping it
through the assembler and outputting bytecode.
-=item B<-Ppackage>
+=item B<-upackage>
Stores package in the output.
@@ -983,16 +983,16 @@ Stores package in the output.
=head1 EXAMPLES
- perl -MO=Bytecode,-O6,-ofoo.plc,-Pmain foo.pl
+ perl -MO=Bytecode,-O6,-ofoo.plc,-umain foo.pl
- perl -MO=Bytecode,-S,-Pmain foo.pl > foo.S
+ perl -MO=Bytecode,-S,-umain foo.pl > foo.S
assemble foo.S > foo.plc
Note that C<assemble> lives in the C<B> subdirectory of your perl
library directory. The utility called perlcc may also be used to
help make use of this compiler.
- perl -MO=Bytecode,-PFoo,-oFoo.pmc Foo.pm
+ perl -MO=Bytecode,-uFoo,-oFoo.pmc Foo.pm
=head1 BUGS