Well, here's one way: for (@array) { if ( $x =~ /^$_/ ) { #do something last; } } -- Simon Oliver --- You are currently subscribed to perl-win32-users as: [archive@jab.org] To unsubscribe, forward this message to [EMAIL PROTECTED] For non-automated Mailing List support, send email to [EMAIL PROTECTED]
- Passing an array to a regexp Ben Hambidge
- Re: Passing an array to a regexp Simon Oliver
- Re: Passing an array to a regexp Philip Newton
- Re: Passing an array to a regexp Grant Hopwood
- Re: Passing an array to a regexp tim_meadowcroft
- Re: Passing an array to a regexp Ben Hambidge