Help for this page

Select Code to Download


  1. or download this
    my %ntests;  $ntests{$_} = 0 for @tests;
    
  2. or download this
    @{ \my %ntests }{ @tests } = (0)x@tests; # :)
    
  3. or download this
    my $mol = '';
    $mol = 'forty two'
        if  42 == $n;
    
  4. or download this
    my $mol =
        ! defined $n
    ...
        42 == $n
            ? 'forty two'
            : '';