Help for this page

Select Code to Download


  1. or download this
    &find (‘Q', @fsg)
    
  2. or download this
    sub find {
        my ($needle,@hay) = @_;
    ...
        my %haystack = map { $_ => $position++ } @hay;
        return $haystack{ $needle }
    };