in reply to perl one-liner, is it possible?

If the file is not too big you can read entire file and then join the lines, like this:
perl -e '@_ = <STDIN>; $_=join("", @_); s/\n\s{1}//gm; print'

Igor 'izut' Sutton
your code, your rules.