On Thu, Oct 03, 2002 at 05:30:49PM -0400, Trey Harris wrote:
> In a message dated Thu, 3 Oct 2002, Michael G Schwern writes:
> 
> > On Thu, Oct 03, 2002 at 03:59:08PM -0400, Mike Lambert wrote:
> > > With pre/post conditions, a subclass is allowed to weaken the
> > > preconditions or strengthen the postconditions.
> >
> > How exactly does one "weaken" a precondition?
> 
> You weaken a precondition by adding ORs; you strengthen a postcondition by
> adding ANDs.

As expressions in Perl run a tad beyond simple boolean logic, could you give
a concrete example?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl Quality Assurance      <[EMAIL PROTECTED]>         Kwalitee Is Job One
My beverage utensil experiences a volume crisis.

Reply via email to