This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cautionary note about "no VERSION"
authorRicardo Signes <rjbs@cpan.org>
Tue, 6 Jul 2010 15:41:53 +0000 (11:41 -0400)
committerDavid Golden <dagolden@cpan.org>
Tue, 6 Jul 2010 16:07:16 +0000 (12:07 -0400)
Signed-off-by: David Golden <dagolden@cpan.org>
pod/perlfunc.pod

index c86af43..b6ded9b 100644 (file)
@@ -7283,6 +7283,11 @@ or no unimport method being found.
     no strict 'refs';
     no warnings;
 
+Care should be taken when using the C<no VERSION> form of C<no>.  It is
+I<only> meant to be used to assert that the running perl is of a earlier
+version than its argument and I<not> to undo the feature-enabling side effects
+of C<use VERSION>.
+
 See L<perlmodlib> for a list of standard modules and pragmas.  See L<perlrun>
 for the C<-M> and C<-m> command-line options to Perl that give C<use>
 functionality from the command-line.