John Porter wrote: > heh. for a normal sub, > > sub foo { > return( 42 ); > } > > finds OMWTDI as > > sub foo { > 42; > last; > } > > Somehow, this seems like very natural perl to me. > > -- > John Porter I'd like to see next/last/redo in such situations pertain to the block from which the sub was called, if that makes sense. -- David Nicol 816.235.1187 [EMAIL PROTECTED] perl -e'map{sleep print$w[rand@w]}@w=<>' /usr/dict/words
- Re: more yield tricks ((was R... Damian Conway
- Re: $a in @b David L. Nicol
- Re: $a in @b Jarkko Hietaniemi
- Re: $a in @b Graham Barr
- RE: $a in @b Damian Conway
- RE: $a in @b Garrett Goebel
- RE: $a in @b Garrett Goebel
- Re: $a in @b John Porter
- Re: $a in @b Damian Conway
- Re: $a in @b John Porter
- Re: $a in @b David L. Nicol
- Re: $a in @b skud
- Re: $a in @b John Porter
- RE: $a in @b Damian Conway
- Re: $a in @b Christian Soeller
- Re: $a in @b Eric Roode
- RE: $a in @b Garrett Goebel
- Re: $a in @b Jerrad Pierce
- Re: $a in @b Peter Scott
- Re: $a in @b Jerrad Pierce
- Re: $a in @b Peter Scott