Think about Loose Coupling | |
PerlMonks |
Re: Logical expressionsby Zaxo (Archbishop) |
on Jun 05, 2007 at 03:59 UTC ( [id://619290]=note: print w/replies, xml ) | Need Help?? |
Would a little boolean logic parser help? You could construct a Parse::RecDescent parser from standard BNL with actions to populate the hash. What is the benefit of poking a hash full of this? Is it a parse tree to be executed, like perl constructs in its compile time? In that case it might be convenient to retain order by using arrays instead of hashes. Your (1,2,3) keys suggest you want to order them. After Compline,
In Section
Seekers of Perl Wisdom
|
|