in reply to Displaying carriage returns

Hi rsriram,

As monkey_boy said, this really is an HTML question.  And his suggestion of putting <pre> ... </pre> tags around it is a very good idea.

You could also use <p> tags before every new paragraph.  Or <br>, to cause a line break.

By the way, you really should check the result of opening files; eg.:

open (FILE, "c:/perl/directory.xml") or die "Can't read file 'director +y.xml' ($!)\n";

s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/