From: Abigail Date: Sun, 26 Jan 2014 15:51:14 +0000 (+0100) Subject: Make it clear what it means if there's no distinction between -M and -m. X-Git-Tag: upstream/5.20.0~615 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2d9228f2ebd4faf3f1605e7adb5d962d6366bbd;p=platform%2Fupstream%2Fperl.git Make it clear what it means if there's no distinction between -M and -m. Triggered by perl #121078, where someone thought one could mimic the behaviour of C<-m> by a clever use of C<-M> and C<=>. --- diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 1feecb0..b545881 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -671,7 +671,8 @@ B<-mI=foo,bar> or B<-MI=foo,bar> as a shortcut for B<'-MI qw(foo bar)'>. This avoids the need to use quotes when importing symbols. The actual code generated by B<-MI=foo,bar> is C. 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=foo,bar> is the same as B<-MI=foo,bar>. A consequence of this is that B<-MI=number> never does a version check, unless C::import()> itself is set up to do a version check, which