in reply to Reading past an artificial EOF?

Yes, you've deduced the problem exactly; ^Z is the EOF character on Windows. To avoid this problem, call binmode() on your filehandle before you read from it.

Replies are listed 'Best First'.
Re: Re: Reading past an artificial EOF?
by PiEquals3 (Acolyte) on Jan 13, 2001 at 00:20 UTC
    That worked marvelously!

    The sterling reputation of the Perl community is re-affirmed yet again.

    Alas, I have much yet to learn..

    --
    Can an atheist be insured against acts of God?