in reply to Re^2: Hash versus chain of elsifs
in thread Hash versus chain of elsifs

> something based on Regexp::Assemble or a similar technique

Trie optimization is supported since v5.10.

See also Re^2: Looking for a cleaner regex ( trie since 5.10 ! ) for more.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery