develooper Front page | perl.perl6.language | Postings from August 2001

Re: properties, revisited

Thread Previous | Thread Next
From:
Jonathan Scott Duff
Date:
August 8, 2001 13:00
Subject:
Re: properties, revisited
Message ID:
20010808150039.F28604@cbi.tamucc.edu
On Thu, Aug 09, 2001 at 03:37:42AM +1000, Damian Conway wrote:
> Scott wrote:
>    > What happens to C<next> within stand-alone C<when> statements? Do
>    > C<when> statements never stand alone?
> 
> That's correct. I'd expect:
> 
>         die "Ungoverned 'when' statement (where's the 'given'???)"

That's weird.  I guess no more weird than "Can't "next" outside a
loop block"  or an ifless else error. 

-Scott
-- 
Jonathan Scott Duff
duff@cbi.tamucc.edu

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About