in reply to weird perl verion and/or OS problem with newlines
Update: fixed the bonehead error of using next inside the loops.while (<>) { my $val=''; if (/^\#:lav/) { $_.=<>; $val.="$_\n"; while (/^#:eof/m) { $val.="$_\n"; $_.=<>; } } print $val; }
|
|---|