in reply to Pattern match array

Maybe grep does what you want?
$wanted = qr(something); if( grep { $_ =~ $wanted } @prims ) { print "hurray!\n" }

I'm pretty sure you want the Fletch or the mortiz solution though.

-Paul