in reply to How to slurp files and join lines
use strict; use warnings; $_ = join '',<DATA>; s/\n//g; print; __DATA__ line 1 line 2 line 3 [download]