use strict; use warnings; use HTML::Entities; print encode_entities(`cat two-lines-with-one-slash-each.txt`); __END__