in reply to
More than one way to do it???
You can use the
ttyname()
function in
POSIX
to get this:
use POSIX; $tty = ttyname(0);
[download]
Comment on
Re: More than one way to do it???
Select
or
Download
Code
In Section
Seekers of Perl Wisdom