You can use the ttyname() function in POSIX to get this:
use POSIX 'ttyname'; $tty = ttyname(0);
In reply to Re: More than one way to do it???
by Fastolfe
in thread More than one way to do it???
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |