diff options
Diffstat (limited to 'perl-install/interactive/http.pm')
| -rw-r--r-- | perl-install/interactive/http.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/interactive/http.pm b/perl-install/interactive/http.pm index 393ede7f6..8a453616f 100644 --- a/perl-install/interactive/http.pm +++ b/perl-install/interactive/http.pm @@ -25,8 +25,8 @@ sub open_stdout() { # cont_stdout must be called after open_stdout and before the first print sub cont_stdout { - my ($title) = @_; - print CGI::start_html('-title' => $title) if $no_header; + my ($o_title) = @_; + print CGI::start_html('-title' => $o_title) if $no_header; $no_header = 0; } @@ -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; |
