Help for this page

Select Code to Download


  1. or download this
    sub foo {
      my $string .= 'appended stuff' if ($conditional1);
      $string .= 'more appended stuff' if ($conditional2);
    }
    
  2. or download this
    sub foo {
      my $string = '';
      $string .= 'appended stuff' if ($conditional1);
      $string .= 'more appended stuff' if ($conditional2);
    }