This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH] Re: English.pm should do *PREMATCH = \$`
authorchromatic <chromatic@wgz.org>
Wed, 5 Sep 2001 18:08:07 +0000 (12:08 -0600)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 5 Sep 2001 23:14:11 +0000 (23:14 +0000)
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                             = \$@   ;