Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
sub chkfmt { if ( !(($DISCPCNT ne "") and ($DISCDAYSDUE ne "") and ($NETDAYSDUE ne "") +and (($DISCDUEDATE eq "") and ($NETDUEDATE eq "") and ($TERMSDISCAMT +eq "")) or !(($DISCDUEDATE ne "") and ($TERMSDISCAMT ne "") and ($DISCPCNT eq "") + and ($DISCDAYSDUE eq "") and ($NETDUEDATE eq "") and ($NETDAYSDUE eq + "")) or !(($DISCPCNT ne "") and ($DISCDUEDATE ne "") and ($DISCDAYSDUE eq "") +and ($NETDUEDATE eq "") and ($NETDAYSDUE eq "") and ($TERMSDISCAMT e +q "")) ) {print TSERROUT "If a discount is offered, Sports Authority wants o +ne of these formats:\n 1) Discount Percent, Discount Days Due, and Net Days Due.\n 2) Discount Due Date, and Discount Amount.\n 3) Discount Percent, and Discount Due Date.\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Set Combination
by Fastolfe (Vicar) on Nov 09, 2000 at 23:09 UTC | |
|
Re: Set Combination
by b (Beadle) on Nov 09, 2000 at 23:07 UTC | |
|
Re: Set Combination
by stephen (Priest) on Nov 09, 2000 at 23:51 UTC | |
|
RE: Set Combination
by mikfire (Deacon) on Nov 09, 2000 at 23:55 UTC |