Ok heres my two cents
Hi guys,
[snip]
>sub DEBUG () { 1 }; # set level of debugness.
I have never seen this before, why do you use it ?
[snip]
>open (STDERR, "/tmp/userlog.log") or die $!;
[snip]
Personally I always include the 'arrow' I am using so in this case:
open (STDERR, ">/tmp/userlog.
Hi guys,
I created the following script to logout users from a
unix system. Please take a look and let me know if
the syntax is correct.
#!/usr/bin/perl
#
#Purpose: To logout users off the system during after
hours.
#
sub DEBUG () { 1 }; # set level of debugness.
open (STDERR, "/tmp/userlog.log"