in reply to Re^2: *.opml file output to console problem
in thread *.opml file output to console problem

At a guess you've got a mismatch between the line endings that Perl is outputting, and the line endings supported by your console. I imagine that if you redirect the output of your script into a file, then the file will look sensible.

perl myscript.pl > myoutput.txt

... and then open myoutput.txt in a decent text editor.

In particular, I think your OPML file currently has Macintosh-style line endings.

perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

Replies are listed 'Best First'.
Re^4: *.opml file output to console problem
by Anonymous Monk on May 13, 2012 at 23:14 UTC

    This helps, Thanks