Thread Korrekte Anwendung von select (7 answers)
Opened by Gast at 2011-02-22 11:36

pq
 2011-02-22 16:29
#145847 #145847
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
2011-02-22T15:24:16 kristian
Was erwartest du in $retval?
Der Code:
if ( $retval == -1 )
scheint mir nicht "perlig"

perldoc -f select
On error, "select" behaves like the select(2) system call : it returns -1 and sets $!.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Korrekte Anwendung von select