2009/12/20 Shmuel Fomberg <[email protected]>: > The simplest function does not work for me: > sub CreateStdinWatcher { > while (1) { > say "Entered reading loop"; > Coro::AnyEvent::readable *STDIN; > say "Incoming line!"; > my $line = <>; > say $line; > } > }
That is probably a buffering issue, specific to the windows console or something. The above code works for me using line buffering on a unix tty. I would try seeing what the equivalent of stty is on windows and fiddling with that... Sorry I can't help more _______________________________________________ Perl mailing list [email protected] http://mail.perl.org.il/mailman/listinfo/perl
