Otherwise, you have a trailing newline at the end of your pattern.while (<FILE>) { + chomp; if ( $ENV{"REDIRECT_URL"} +~ /$_/ ) { print $_; last; }
In reply to Re: Re: Reverse grep?
by dws
in thread Reverse grep?
by JamesA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |