Try undefing the record separator then read in the file from a normal filehandle.$cat2 = `/bin/cat data.txt`;
open(FH, 'data.txt') or die(); my $tmp_fs = $/; my $cat2 = <FH>; $/ = $tmp_fs; close(FH);
In reply to RE: Re: Weird printing
by LunaticLeo
in thread Weird printing
by damian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |