From: 'John Porter' [mailto:[EMAIL PROTECTED]]
> 
> Garrett Goebel wrote:
> > However it still doesn't answer how you are able to:
> > 
> > return $true and next;
> > return $false and next;
> > return $true and last;
> > return $false and last;
> > return $true and redo;
> > return $false and redo;
> 
> What if the semantics of C<return> are changed so that the actual
> sub exit does occur until the end of the currently executing 
> statement?

Well, that would break most all code that has multiple conditional returns
in a function. I'm not sure how a Perl 5 -> 6 translator would handle: 

sub AUTOLOAD {
  return if $AUTOLOAD =~ /DESTROY$/;
  ...
}

Reply via email to