$file =<stdin>; chomp($file); if (m/(\d+)\|\Q$file\E$/x) { do something} elsif (m/^aaa\[/) {die}; [download]
In reply to Re: unless/if by ysth in thread unless/if by Anonymous Monk