http://www.perlmonks.org?node_id=431538


in reply to Re: Regex problem
in thread Regex problem

If you want to test for equality, then by all means!

if ( grep { $index == $_ } @index_corr_file ) { # whatever }
--
edan