Re: [PATCH] Re: English.pm should do *PREMATCH = \$`
chromatic [Wed, 5 Sep 2001 18:08:07 +0000 (12:08 -0600)]
Message-Id: <01090518080700.19590@firewheel>

p4raw-id: //depot/perl@11896

lib/English.pm

index 3f22306..5383368 100644 (file)
@@ -183,6 +183,8 @@ sub import {
        *CHILD_ERROR                            = \$?   ;
        *OS_ERROR                               = \$!   ;
            *ERRNO                              = \$!   ;
+       *OS_ERROR                               = \%!   ;
+           *ERRNO                              = \%!   ;
        *EXTENDED_OS_ERROR                      = \$^E  ;
        *EVAL_ERROR                             = \$@   ;