Thread Pipes: kleines Verständnis Problem (4 answers)
Opened by sid burn at 2006-06-19 23:40

pq
 2006-06-20 00:00
#67453 #67453
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
das print <PIPE> liest tatsächlich erst alles ein und gibt es dann aus.

mit der 3-argumenten-form von open könnte sowas so aussehen:
Code: (dl )
1
2
3
open my $pipe, "|-", "programm" or die $!;
print while <$pipe>;
close $pipe;
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 Pipes: kleines Verständnis Problem