Help for this page

Select Code to Download


  1. or download this
    my %hash;
    my $condition = sub { ! exists $hash{key} };
    ...
    if ($condition->()) {
        print "'key' does not exists in \%hash\n";
    }