Help for this page

Select Code to Download


  1. or download this
        my $myresult = "";
        while(<$mystdout>){
            $myresult = "$myresult$_";
        }
    
  2. or download this
        my $myresult = "";
        while(<$mystdout>){
            $myresult .= $_;
        }
    
  3. or download this
        my $myresult = join '', <$mystdout>;
    
  4. or download this
        local $/;
        my $myresult = <$mystdout>;