in reply to Re: read data 1 byte at a time
in thread read data 1 byte at a time

Which version of Perl are you using?

v5.8.0 / AS 802. Not sure why the warning is produced. By the evidence of the pod you quoted, it's a bug, but I never encountered it before.

Welllllll, your benchmark isn't fair. All others do two things in the loop, assign a character to $char, and increment an integer.

True! ... but I already knew how many chars there were, so I didn't need to count 'em:)


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!

Replies are listed 'Best First'.
Re: read data 1 byte at a time
by Abigail-II (Bishop) on Oct 28, 2003 at 22:42 UTC
    I see it with 5.8.0 as well. But not with 5.8.1, 5.8.2-RC1, or 5.9.0. So, I guess it's a bug that's fixed in the current release.

    Abigail