Re: error in http://faq.perl.org/perlfaq4.html#How_do_I_find_the_fi

[email protected] (_brian_d_foy) Tue, 26 Apr 2005 19:19:08 -0500
Newsgroups perl.perlfaq.workers
Message-ID <260420051919089757%[email protected]>
[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <[email protected]>, Hg6423
<[email protected]> wrote:

> the code
> 
>      my $found;
>      foreach my $element ( @array )
>      {
>          if( /Perl/ ) { $found = $element; last }
>      }


I've fixed this to use the right variable in the match.  Thanks :)

-- 
brian d foy, [email protected]