Thread perl GTK2 Ausgabe von tail -f: Ausgabe tail-f in einen textview-widget
(5 answers)
Opened by puhvogel at 2005-09-12 23:57
vielleicht in etwa so:
Code: (dl
)
1 $main->repeat(1000, sub { $log = qx(tail -f /var/log/messages) }); perl -Mstrict -Mwarnings -e 'package blub; sub new { bless {} } sub bar {my $self=shift; $self->{bla}="5065726c2d436f6d6d756e697479"; return $self->{bla};} my $foo=blub->new();print "Hallo ";print pack("H*",$foo->bar()); print "\n"'
http://perl-tutor.de |