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

Re: Meaning of sysread()

Thread Previous | Thread Next
From:
david nicol
Date:
May 22, 2003 13:00
Subject:
Re: Meaning of sysread()
Message ID:
1053633567.1121.63.camel@plaza.davidnicol.com

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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About