Help for this page

Select Code to Download


  1. or download this
    my $val;
    my $stmt = q{$val = (defined $ENV{HOST} ? $ENV{HOST} : 'sqlhost')};
    ...
        {
            print $val, "\n";
        }
    
  2. or download this
    my ($r, $stmt);
    
    ...
    
    __DATA__
    $r = (defined $ENV{HOST} ? $ENV{HOST} : 'sqlhost')