in reply to Module for Conditional Parsing

Please, give us a bigger picture. If the "ad hoc conditionals" will only come from the programmer (i.e. the code), there's no need for a structure, just use an anonymous subroutine:
my $allowed = sub { grep $_[0] == $_, 10022, 96813, 55401 }; if ($allowed->($redis_handle->get('key')) { # do something }

But, if users will be creating those conditionals, you need a language + parser (or a GUI to build the conditionals graphically).

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ