Help for this page

Select Code to Download


  1. or download this
    my $search = "foo";
    my @array = ("s1 bar", "s2 notfoo", "s3 foo")
    
  2. or download this
    grep {/$search$/} @array