develooper Front page | perl.perl5.porters | Postings from May 2003

Re: Meaning of sysread()

Thread Previous | Thread Next
david nicol
May 22, 2003 13:00
Re: Meaning of sysread()
Message ID:

I yi yi.

Without reading all the discussion here's my vote.

On Wed, 2003-05-21 at 05:52, Nick Ing-Simmons wrote:

> Or perhaps it should be a pragma:

Yes.  Default the pragma differently on win32 or unix but
allow it to be set to the other explicitly, or directly
through subroutine names such as CORE::sysread_bytes
and CORE::sysread_chars and so on and so forth, modulo
current practice of course. The pragma simply reassigns
*CORE::sysread to \&CORE::sysread_something_or_other
and furthermore, -w complains when you use any of the
internal sysread functions in your code.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About