Help for this page

Select Code to Download


  1. or download this
    my @foo = qw(JohnSmith Smiccky aaaaaa);
    
    foreach my $f (@foo) {
        print "Yep $f \n" if ($f =~ /^[qw(Smith Jones)]/);
    }
    
  2. or download this
    Yep JohnSmith 
    Yep Smiccky