Michael G Schwern:
> 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?

all inherited pre-conditions pass
  or
class' own pre-conditions pass


--
Garrett Goebel
IS Development Specialist

ScriptPro                   Direct: 913.403.5261
5828 Reeds Road               Main: 913.384.1008
Mission, KS 66202              Fax: 913.384.2180
www.scriptpro.com          [EMAIL PROTECTED]

Reply via email to