in reply to Generate a single "or regex" from given strings

To reduce the excessive verbosity when the modules can't be loaded, change:
$@ and do { warn "Could not load $mod: $@\n"; return; };

to:

$@ and do { warn "Could not load $mod\n"; return; };

Replies are listed 'Best First'.
Re^2: Generate a single "or regex" from given strings
by Anonymous Monk on Sep 27, 2013 at 15:59 UTC

    Yes, that and other things may be optionally turned off|on if anyone else cares to implement.