Help for this page

Select Code to Download


  1. or download this
    sub search {
      my $wanted = shift;
    ...
       find($wanted, $path);
      }
    }
    
  2. or download this
    paths.each do
      |path|
      puts "Searching in %{path}"
      find(wanted, path)
    end
    
  3. or download this
     
    irb(main):006:0> wanted = "c"
    => "c"
    ...
    false
    Searching in c
    true