Help for this page

Select Code to Download


  1. or download this
    no strict qw/refs/;
    foreach my $e (qw/a c b/) {
      if ($$e) {
        $combined .= $e . "=" . $$e;
      }
    }
    
  2. or download this
    foreach my $e ( ["a", $a], ["c", $c], ["b", $b]/) {
      if ($e->[1]) {
        $combined .= $e->[0] . "=" . $e->[1];
      }
    }