in reply to Keeping interactive net session alive
What does that accomplish that this doesn't:eval((stat($tty))[9])
except not waste CPU time turning a number into a string into executable code, just to run that code and get the number back?(stat($tty))[9]
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Keeping interactive net session alive
by gnu@perl (Pilgrim) on Oct 30, 2002 at 18:48 UTC |