in reply to __DATA__ Inconsistency

You can write this as
my $test = do { local $/; <DATA> }; print $test;

See $/ for an explanation of what it does.