From c2d9228f2ebd4faf3f1605e7adb5d962d6366bbd Mon Sep 17 00:00:00 2001 From: Abigail Date: Sun, 26 Jan 2014 16:51:14 +0100 Subject: [PATCH] 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<=>. --- pod/perlrun.pod | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.7.4