Skip to content

Commit b8e2ff4

Browse files
t-a-kjkeenan
authored andcommitted
perlrun.pod: Replace "C<use> I<module> ..." with "C<use I<module> ...>" in the description of -m/-M switches
"C<use I<module> ...>" will be rendered as a single <code> block and (I think) it looks better than the previous "C<use> I<module> ...". which would be rendered as separate blocks.
1 parent 6ce7468 commit b8e2ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlrun.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,11 +694,11 @@ X<-m> X<-M>
694694

695695
=item B<-[mM]>[B<->]I<module=arg[,arg]...>
696696

697-
B<-m>I<module> executes C<use> I<module> C<();> before executing your
697+
B<-m>I<module> executes S<C<use I<module> ();>> before executing your
698698
program. This loads the module, but does not call its C<import> method,
699699
so does not import subroutines and does not give effect to a pragma.
700700

701-
B<-M>I<module> executes C<use> I<module> C<;> before executing your
701+
B<-M>I<module> executes S<C<use I<module>;>> before executing your
702702
program. This loads the module and calls its C<import> method, causing
703703
the module to have its default effect, typically importing subroutines
704704
or giving effect to a pragma.

0 commit comments

Comments
 (0)