in reply to Re: Reverse grep?in thread Reverse grep?
while (<FILE>) { + chomp; if ( $ENV{"REDIRECT_URL"} +~ /$_/ ) { print $_; last; } [download]