develooper Front page | perl.perl5.porters | Postings from November 2000

Re: PerlIO - what next ?

Thread Previous | Thread Next
From:
Simon Cozens
Date:
November 8, 2000 06:01
Subject:
Re: PerlIO - what next ?
Message ID:
20001108140117.A26943@pembro4.pmb.ox.ac.uk
On Wed, Nov 08, 2000 at 01:50:06PM +0000, Nick Ing-Simmons wrote:
> Do you want getc($fh) return character or a byte depending on the handle's 
> top "layer" ?

I vote yes.

> Likewise does $count = read($fh,$buffer,10); read 10 chars or 10 bytes
> depending on mode ? 

Again, I think so.

> How do you want I open a file which is utf8 or shift-jis or whatever?
> What should "binmode" mean now we have layers?
 
perldoc open?

-- 
"On a normal ascii line, the only safe condition to detect is a 'BREAK'
- everything else having been assigned functions by Gnu EMACS."
(By Tarl Neustaedter)

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