tekkie has asked for the wisdom of the Perl Monks concerning the following question:
Where 'test.txt' resembles:$count = 0; open(FILE, 'test.txt'); while(<FILE>) { $count++; } close FILE; print "$count\n";
And where <SUB> is the SUBstitute character (Dec 26 Hex 1A Oct 032)Arbitrary data Arbitrary data Arbitrary data Arbitrary data <SUB> Arbitrary data Arbitrary data Arbitrary data Arbitrary data
Edit by Petruchio Thu Jan 16 18:05:09 UTC 2003 - The ^Z character was causing trouble for certain browsers. It was replaced in two places with the string <SUB>, as chosen by the author.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Hex value 1A terminates <>
by jmcnamara (Monsignor) on Jan 13, 2003 at 14:19 UTC | |
Re: Hex value 1A terminates <>
by derby (Abbot) on Jan 13, 2003 at 14:24 UTC | |
by tekkie (Beadle) on Jan 13, 2003 at 14:26 UTC | |
Re: Hex value 1A terminates <>
by boo_radley (Parson) on Jan 13, 2003 at 14:18 UTC |