```2008/8/21 Kyung won Cheon <kdream95 / gmerce.co.kr>:
> --- test1.rb ---
>
> def test_begin_while(*l)
>  b = begin a = l.shift end while !l.empty?
> end
>
> puts test_begin_while(1,2,3)
>
> # => nil
>
>
> --- test2.rb ---
>
> def test_begin_while(*l)
>  b = begin a = l.shift end while !l.empty?
>  b
> end
>
> puts test_begin_while(1,2,3)
>
> # => 3
>
> ###############
> # Help Me^^
> ###############

irb(main):005:0> def test_begin_while(*l)
irb(main):006:1>  b = begin a = l.shift; p [a,b]; a end while !l.empty?
irb(main):007:1> end
=> nil
irb(main):008:0> test_begin_while 1,2,3
[1, nil]
[2, 1]
[3, 2]
=> nil
irb(main):009:0> def test_begin_while(*l)
irb(main):010:1>  b = ( begin a = l.shift; p [a,b]; a end while !l.empty? )
irb(main):011:1> end
=> nil
irb(main):012:0> test_begin_while 1,2,3
[1, nil]
[2, nil]
[3, nil]
=> nil
irb(main):013:0> def test_begin_while(*l)
irb(main):014:1>  ( b = begin a = l.shift; p [a,b]; a end ) while !l.empty?
irb(main):015:1> end
=> nil
irb(main):016:0>  test_begin_while 1,2,3
[1, nil]
[2, 1]
[3, 2]
=> nil

--
use.inject do |as, often| as.you_can - without end

```