develooper Front page | perl.perl5.porters | Postings from September 2001

Re: Question about PERLIO

Thread Previous | Thread Next
From:
Abe Timmerman
Date:
September 26, 2001 09:43
Subject:
Re: Question about PERLIO
Message ID:
tov3rtk1pbsub8oi22v8a4bo761i58lrc1@4ax.com
Op een mooie dag  (Wed, 26 Sep 2001 15:10:27 +0100),  schreef  Nick Ing-Simmons
<nick.ing-simmons@elixent.com> mij:

> Abe Timmerman <abe@ztreet.demon.nl> writes:
> >Hi,
> >
> >I think I don't understand this PERLIO thing.
> >
> >I'm on a W2k machine with MSVC 6 (plain CMD.exe). This is perl@12185.
> >
> >I changed Makefile (as provided in the win32 subdir)
> >
> >	CCTYPE		= MSVC60
> >
> >It builds OK and passes all tests, then I do
> >
> >	>set PERLIO=stdio
> >	>nmake test
> >
> >This is what I get:

[ snip results ]

> >Failed 9/464 test scripts, 98.06% okay. 128/25650 subtests failed, 99.50% okay. 
> >
> >Is this the way it _should_ work or am I doing something wrong?
> 
> By using stdio layer without a crlf translate layer you will get 
> a fail pattern a bit like that.
> 
> set PERLIO=:stdio :crlf
> 
> May be better...

Yes it is:

Failed Test      Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
..\lib/English.t    1   256    54    1   1.85%  48

not ok 48 - %OS_ERROR (ENOENT should be set)
#     Failed test (..\lib\English.t at line 128)

This test involves %OS_ERROR (%!) for which I can't find an entry in perlvar.pod

groetje,

Abe
-- 
perl -wle '$_=q@Just\@another\@Perl\@hacker@;print qq@\@{[split/\@/]}@'

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