in reply to Re: Weird printing
in thread Weird printing
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Weird printing
by chromatic (Archbishop) on Aug 10, 2000 at 00:12 UTC |