Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Rules based Perl

by boo_radley (Parson)
on Nov 05, 2003 at 18:52 UTC ( [id://304823] : note . print w/replies, xml ) Need Help??


in reply to Rules based Perl

if a b c > X but less than Y or possibly U or b c d > Z the kicker is that each of the variables may have dozens or hundreds of values (parsed from multiple files) so the normal if/else is not feasible.
Have you seen Quantum::Superpositions? I bet any() and all() can help you collapse those tricky sets of decisions and values.