Help for this page

Select Code to Download


  1. or download this
    my $test_result = <some test that returns a Boolean value>;
    print $test_result ? qw( c ) : qw( a b );
    
  2. or download this
    my $test_result = <some test that returns a Boolean value>;
    my @values = $test_result ? qw( c ) : qw( a b );
    print @values;