develooper Front page | perl.perl5.porters | Postings from March 2007

[perl #41651] bug in select functiion on ARM

Wu, Liu
March 1, 2007 08:26
[perl #41651] bug in select functiion on ARM
Message ID:
# New Ticket Created by  "Wu, Liu" 
# Please include the string:  [perl #41651]
# in the subject line of all future correspondence about this issue. 
# <URL: >


When I port the perl-5.8.8 to ARM ( xscale platform ,Big Endian ,
Montavista Linux professional edition 3.1) .

But I find it that the select () function in perl can't be work well.
Such program like this :


#! /usr/local/bin/perl

my $bits="";

my $timeout=3;

open READ,"html";



        print "select\n";


The progress is simple. Open the file (the "html " file is exist ) .and
then call the select function to find out the opened file descriptor 

Normally , it should print "select " on screen . but unfortunately there
is nothing left on screen. 

For test the select system call. I program the c program to test select
() system call. It can work well. That's also to say that the system and
c library is no problem. 

So I doubt there are some problems on select function in Perl. Since the
select function in Perl depend on select system call.

I don't know why?

I was looking forward to your replying 

Thank you 



Wu Liu


phone:86-21-387-37917 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About