Thanks a lot for all these remarks! Here under I try to address each of the suggestions that have been made:
Otherwise concerning the while loop.. it would be nice to use pause but since I cannot catch the signal in the first place.. I wanted to make the script as straight forward as possible (focus on the SIGIO and nothing else)
Any further ideas/recommendations? Lets say I wan to dial into my computer, and I want a small perl script to handle this: do I have to constantly poll the Serial Port for input from the modem (every 5 or 10 secs.) and "suck" the system ressources (whith a "while loop" ;-)? Or is there another way of doing this in Perl?
In reply to Re: Re: Handling I/O Signals
by stephane
in thread Handling I/O Signals
by stephane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |