How to write the following Perl code in Ruby:

                    while (<>) { eval; print $@; }

Thanks,
Dat
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com