$ perl -lp000e1 input.txt >output.txt #### $ perl -MO=Deparse -lp000e1 BEGIN { $/ = ""; $\ = "\n"; } LINE: while (defined($_ = readline ARGV)) { chomp $_; '???'; } continue { die "-p destination: $!\n" unless print $_; } #### use warnings; use strict; local ($/,$\) = ("","\n"); while (<>) { chomp; print; }