summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-09-27 17:02:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-09-27 17:02:42 +0000
commit642d0c2f60eb696d18d53486a98f0b8807f335a2 (patch)
treef2ae694e74128091c35a33a17aed6dab7bbfdecf /pod/perlrun.pod
parentb42969c054c571b3b721d68818184e59ca761058 (diff)
downloadperl-642d0c2f60eb696d18d53486a98f0b8807f335a2.tar.gz
Clarify what -MFoo=number does on the command-line
p4raw-id: //depot/perl@25623
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index 85706ca950..dbf008dacb 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -620,6 +620,10 @@ importing symbols. The actual code generated by B<-Mmodule=foo,bar> is
C<use module split(/,/,q{foo,bar})>. Note that the C<=> form
removes the distinction between B<-m> and B<-M>.
+A consequence of this is that B<-MFoo=number> never does a version check
+(unless C<Foo::import()> itself is set up to do a version check, which
+could happen for example if Foo inherits from Exporter.)
+
=item B<-n>
causes Perl to assume the following loop around your program, which