
davem at iabyn
May 4, 2012, 8:24 AM
Post #3 of 3
(62 views)
Permalink
|
|
Re: unexpected: Can't "goto" out of a pseudo block
[In reply to]
|
|
On Fri, May 04, 2012 at 04:10:07PM +0100, Nicholas Clark wrote: > On Fri, May 04, 2012 at 04:02:33PM +0100, Dave Mitchell wrote: > > $ perl5159 -e'@a = sort { goto FOO; FOO: $a <=> $b } 1,2,3' > > Can't "goto" out of a pseudo block at -e line 1. > > $ > > > > I'd expect this this code to execute ok. Can anyone think of a reason why > > it isn't a bug? > > Specifically that code that doesn't actually exit the block? yes. -- Please note that ash-trays are provided for the use of smokers, whereas the floor is provided for the use of all patrons. -- Bill Royston
|