in reply to Refresh display in Perl

If you just want to refresh the output of who every 10 seconds, there is no need for Perl, just use watch: watch -n 10 'who' on the command line. See man watch for more information.

Replies are listed 'Best First'.
Re: Re: Refresh display in Perl
by sauoq (Abbot) on Jul 30, 2003 at 19:09 UTC

    Although watch(1) is great, it's not standard on all (most) platforms. There is a world outside of Linux. :-)

    -sauoq
    "My two cents aren't worth a dime.";
    
      I was under the impression that it was standard on most *nix systems... Anyway, thanks for letting me know. ; )