Not tested, but it might work, or at least give you an idea.my $line = ''; my $chr; $line .= $chr until (($chr = getc($fh)) =~ /[\r\n]/);
In reply to Re: Reading non-blockingly / "awk has to be better for something."
by Grimy
in thread Reading non-blockingly / "awk has to be better for something."
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |