in reply to Programmatic regex disjunction

This is my favorite way:

my $any = do { local $" = '|'; qr/@pats/; };
Some may call it obfuscated, but I think it's particularly clean.

After Compline,
Zaxo