in reply to Re^2: Determine whether file is dos or unix format
in thread Determine whether file is dos or unix format
my $text = do { open my $fh, '<:raw', 'test_file.txt' or die "Unable to open input file: $!\n"; local $/; <$fh>; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Determine whether file is dos or unix format
by ikegami (Patriarch) on Nov 29, 2005 at 16:16 UTC |