in reply to How can I make it to a one liner

perl -pe 'chomp if 2../^__DATA__$/'