summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/http.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/interactive/http.pm b/perl-install/interactive/http.pm
index b5ade049c..8a453616f 100644
--- a/perl-install/interactive/http.pm
+++ b/perl-install/interactive/http.pm
@@ -108,9 +108,8 @@ sub ask_fromW {
close STDOUT; # page terminated
while (1) {
- local *F;
- open F, "<$pipe_r" or die;
- $q = CGI->new(*F);
+ open(my $F, "<$pipe_r") or die;
+ $q = CGI->new($F);
$q->param('force_exit_dead_prog') and $o->exit;
last if $q->param('uid') == $uid;