in reply to Re^2: Very weird things when printing (may be an encoding issue?)
in thread Very weird things when printing (may be an encoding issue?)
poj#!perl use strict; open IN,'<','weird.txt' or die "$!"; { local $/ = "\x0D"; while (<IN>){ my @lines = split /\x0A/; print $lines[0]."\n"; print $lines[1]."\n\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Very weird things when printing (may be an encoding issue?)
by dottornomade (Initiate) on May 30, 2013 at 12:21 UTC |