Make it clear what it means if there's no distinction between -M and -m.
authorAbigail <abigail@abigail.be>
Sun, 26 Jan 2014 15:51:14 +0000 (16:51 +0100)
committerAbigail <abigail@abigail.be>
Sun, 26 Jan 2014 15:54:24 +0000 (16:54 +0100)
Triggered by perl #121078, where someone thought one could mimic the
behaviour of C<-m> by a clever use of C<-M> and C<=>.

pod/perlrun.pod

index 1feecb0..b545881 100644 (file)
@@ -671,7 +671,8 @@ B<-mI<MODULE>=foo,bar> or B<-MI<MODULE>=foo,bar> as a shortcut for
 B<'-MI<MODULE> qw(foo bar)'>.  This avoids the need to use quotes when
 importing symbols.  The actual code generated by B<-MI<MODULE>=foo,bar> is
 C<use module split(/,/,q{foo,bar})>.  Note that the C<=> form
-removes the distinction between B<-m> and B<-M>.
+removes the distinction between B<-m> and B<-M>; that is,
+B<-mI<MODULE>=foo,bar> is the same as B<-MI<MODULE>=foo,bar>.
 
 A consequence of this is that B<-MI<MODULE>=number> never does a version check,
 unless C<I<MODULE>::import()> itself is set up to do a version check, which