http://qs1969.pair.com?node_id=272208


in reply to Re: regexp and substitute operator problem
in thread regexp and substitute operator problem

Yep, you're right, that was a pretty stupid mistake. Thanks for your help. This:

@chroms = grep {  /[pqxy]/i } @chroms;

solves it.