Show
Ignore:
Timestamp:
09.04.2018 11:02:58 (19 months ago)
Author:
kjdon
Message:

initialize response_content to avoid 'Use of uninitialized value ' errors

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/servercontrol.pm

    r32096 r32166  
    154154    ##print STDERR "@@@@ $wgetCommand\n"; 
    155155     
    156     my $response_content; 
     156    my $response_content = ""; 
    157157    my $response_code = undef; 
    158158    #my $response_content = `$wgetCommand`; # Dr Bainbridge advises against using backticks for running a process. If capturing std output, use open():