Document ‘Can't reset %ENV’ in perldiag
authorFather Chrysostomos <sprout@cpan.org>
Tue, 27 Dec 2011 17:49:48 +0000 (09:49 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 29 Dec 2011 06:58:48 +0000 (22:58 -0800)
pod/perldiag.pod

index acd67de..7e0c636 100644 (file)
@@ -1131,6 +1131,13 @@ probably because you don't have write permission to the directory.
 (P) An error peculiar to VMS.  Perl thought stdin was a pipe, and tried
 to reopen it to accept binary data.  Alas, it failed.
 
+=item Can't reset %ENV on this system
+
+(F) You called C<reset('E')> or similar, which tried to reset
+all variables in the current package beginning with "E".  In
+the main package, that includes %ENV.  Resetting %ENV is not
+supported on some systems, notably VMS.
+
 =item Can't resolve method "%s" overloading "%s" in package "%s"
 
 (F)(P) Error resolving overloading specified by a method name (as