in reply to Boolean algebra
I'd attempt this, but your specification is inconsistent, and as I was looking at it, I stopped working on it until you clarify. Specifically:
This specification cannot be used with your sample data because you have the items delivered in different orders in the subexpressions: (abdc) vs (adc-b). So are you saying:
- The order of variables in the output string had to be the same as the input string.
- that we're permitted to select a subexpression at random with which to comply, or
- that your sample data would never be the actual data, or
- that this rule can be tossed out?
-- Randal L. Schwartz, Perl hacker
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Re: Boolean algebra
by le (Friar) on Nov 13, 2000 at 18:41 UTC | |
by merlyn (Sage) on Nov 13, 2000 at 18:52 UTC | |
by le (Friar) on Nov 13, 2000 at 19:09 UTC |
In Section
Seekers of Perl Wisdom