diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 16:54:10 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-05 16:54:10 +0000 |
commit | 39bac7f7f5a36515e5edfd18fa0ae05b4fb933ec (patch) | |
tree | 57c2178edbebb8f194324f596d071fa4ba84741f /t | |
parent | e5a4bac510f9fafa6e02bed759aee3582bb87d6a (diff) | |
download | perl-39bac7f7f5a36515e5edfd18fa0ae05b4fb933ec.tar.gz |
thinko in change#4546 that caused variables to lose their importedness
(GvIMPORTED_XV_off should be !GvIMPORTED_XV)
p4raw-link: @4546 on //depot/perl: 11faa288e292c27cb2ddc4ccdc483b523d26ce19
p4raw-id: //depot/perl@5543
Diffstat (limited to 't')
-rw-r--r-- | t/pragma/strict-vars | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/pragma/strict-vars b/t/pragma/strict-vars index 9352c4b04c..954d1e5ab4 100644 --- a/t/pragma/strict-vars +++ b/t/pragma/strict-vars @@ -27,6 +27,15 @@ EXPECT # strict vars - no error use strict 'vars' ; use vars qw( $freddy) ; +BEGIN { *freddy = \$joe::shmoe; } +$freddy = 2 ; +EXPECT + +######## + +# strict vars - no error +use strict 'vars' ; +use vars qw( $freddy) ; local $abc::joe ; my $fred ; my $b = \$fred ; |