Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/local/bin/perl -w use strict; my @uptime = split //, `uptime`; print "Server rebooted in last 24 hours.\n" if ( $uptime[2] > 1 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Email printed message
by silent11 (Vicar) on Mar 08, 2002 at 21:15 UTC | |
by talexb (Chancellor) on Mar 09, 2002 at 04:10 UTC | |
|
Re: Email printed message
by dws (Chancellor) on Mar 08, 2002 at 19:46 UTC |