Help for this page

Select Code to Download


  1. or download this
      @ARGV ~~ /\.mdb$/i
    
  2. or download this
    if (grep { not /\.mdb$/i } @ARGV) {
      print STDERR "All parameters must be MDB files\n";
      exit;
    }
    
  3. or download this
    @ARGV ~~ /\.mdb\z/
       or die "All parameters must be MDB files"
    
  4. or download this
    @ARGV ~~ sub {$_[0] !~ /\.mdb$/i}
       and die "All parameters must be MDB files"
    
  5. or download this
    @ARGV !~~ /\.mdb$/i
       and die "All parameters must be MDB files";
    
  6. or download this
    given($foo) {
      when (! /some regexp/) {...}
      ...
    }
    
  7. or download this
    given($foo) {
      when ! (/some regexp/) {...}
      ...
    }