Re: adverbial blocks: description and examples requested

2005-05-10 Thread Terrence Brannon
Ashley, this is a great post. I have included it almost verbatim in my p6 talk I'm giving tomorrow at our Perl Monger's meeting: http://www.metaperl.com/talks/p6/hangman-elucidated/slide6.html I hope you don't mind. > On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: >> I was looking at

Re: adverbial blocks: description and examples requested

2005-05-10 Thread Terrence Brannon
Luke Palmer <[EMAIL PROTECTED]> writes: > On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: >> I was looking at a line in the hangman program: >> >> @letters == @solution.grep:{ $_ ne '' }; >> >> and was told that I was looking at an adverbial block. > > The adverbial block is what you're g

Re: adverbial blocks: description and examples requested

2005-05-05 Thread Darren Duncan
At 11:11 PM + 5/5/05, Terrence Brannon wrote: Luke Palmer <[EMAIL PROTECTED]> writes: > On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: I was looking at a line in the hangman program: @letters == @solution.grep:{ $_ ne '' }; and was told that I was looking at an adverbial block. T

Re: adverbial blocks: description and examples requested

2005-05-05 Thread Ashley Winters
On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: > I was looking at a line in the hangman program: > > @letters == @solution.grep:{ $_ ne '' }; > > and was told that I was looking at an adverbial block. > > But I don't understand what that is and could not find a description > and exampl

Re: adverbial blocks: description and examples requested

2005-05-05 Thread Terrence Brannon
Luke Palmer <[EMAIL PROTECTED]> writes: > Ugh, hit "a" in gmail when replying! > > On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: >> I was looking at a line in the hangman program: >> >> @letters == @solution.grep:{ $_ ne '' }; >> >> and was told that I was looking at an adverbial block.

Re: adverbial blocks: description and examples requested

2005-05-05 Thread Luke Palmer
Ugh, hit "a" in gmail when replying! On 5/5/05, Terrence Brannon <[EMAIL PROTECTED]> wrote: > I was looking at a line in the hangman program: > > @letters == @solution.grep:{ $_ ne '' }; > > and was told that I was looking at an adverbial block. The adverbial block is what you're giving to `if`