Re: Draft RFC: my Dog $spot is just an assertion

2000-09-13 Thread Piers Cawley
Damian Conway <[EMAIL PROTECTED]> writes: > Piers wrote: > >> The behaviour of the syntax should simply be an >> assertion of the invariant: >> >>(!defined($spot) || (ref($spot) $spot->isa('Dog))) > > (!defined($spot) || (ref($spot) && $spot->isa('Dog'))) > > >

Re: Draft RFC: my Dog $spot is just an assertion

2000-09-13 Thread Hildo Biersma
Piers Cawley wrote: > =head1 ABSTRACT > > The behaviour of the syntax should simply be an > assertion of the invariant: > >(!defined($spot) || (ref($spot) $spot->isa('Dog))) Apart from the buglet that Damian pointed out, agree. Instead of an implementation based on tie, I'd rather define

Re: Draft RFC: my Dog $spot is just an assertion

2000-09-12 Thread Damian Conway
Piers wrote: > The behaviour of the syntax should simply be an > assertion of the invariant: > >(!defined($spot) || (ref($spot) $spot->isa('Dog))) (!defined($spot) || (ref($spot) && $spot->isa('Dog'))) Otherwise, AMEN! Damian

Draft RFC: my Dog $spot is just an assertion

2000-09-12 Thread Piers Cawley
=head1 TITLE C is just an assertion =head1 VERSION Maintainer: Piers Cawley <[EMAIL PROTECTED]> Date: 12th September 2000 Last Modified: 12th September 2000 Mailing List: [EMAIL PROTECTED] Version: 0 Status: Draft =head1 ABSTRACT The behaviour of the syntax should simply be an as