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

Re: [perl #21314] make test: ext/IO/lib/IO/t/io_poll FAILED at test 3

Thread Previous | Thread Next
From:
Hiroshi Kunimatsu
Date:
February 21, 2003 02:39
Subject:
Re: [perl #21314] make test: ext/IO/lib/IO/t/io_poll FAILED at test 3
Message ID:
200302210520.FAA05157@rsvhhp01.naps.kishou.go.jp
Hello, Benjamin and Michael.
Thank you for your quick and practical instruction.

At 16:06 +0000 2003.02.20, Michael G Schwern (via RT) wrote:
> If you run:
> ./perl -I../lib ../ext/IO/lib/IO/t/io_poll.t | cat
> then STDOUT will be to a pipe and the test will probably fail.

You're right;

$ ./perl -I../lib ../ext/IO/lib/IO/t/io_poll.t
1..10
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10

$ ./perl -I../lib ../ext/IO/lib/IO/t/io_poll.t | cat
1..10
ok 1
ok 2
not ok 3
not ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10

> Sure, you can just ignore the failure and install it.  Just be aware that
> IO::Poll will have problems dealing with STDOUT when its piped.

OK.
I ignored the failure and did 'make install'.

At 17:41 -0500 2003.02.20, Benjamin Goldberg wrote:
> The IO::Poll module is an alternative to IO::Select.
> 
> The only times you would use either, would be when writing a program to
> simultaneously read from multiple sockets, pipes, or ttys.  Unless
> you're writing such a program, (or unless you're using a module which
> does such a thing) you're perfectly fine.
> 
> Furthermore, *most* people prefer using IO::Select, since it has a
> simpler, easier to use interface... so even if you are doing such a
> task, you're still probably ok.

I see.

Anyway, I'm happy that I can use perl in my environment now.


Regards,

Hiroshi Kunimatsu
Japan Meteorological Agency
email : kunimatu@naps.kishou.go.jp

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