Help for this page

Select Code to Download


  1. or download this
    my %results;
    for my $tok ( split /\s+/, $input ) {
    ...
    for my $k ( qw( a b c ) ) {
      print "$k is ", exists $results{ $k } ? $results{ $k } : 'missing', 
    +"\n";
    }