in reply to Losing __DATA__ when evaling script.

try do "test.pl" instead!

see docs for "do EXPR" for details!

Cheers Rolf

( addicted to the Perl Programming Language)