
Paul
Enthusiast
Feb 14, 2002, 3:10 PM
Views: 3743
|
|
Re: [sangiro] Perl code (SSI) to detect day and time
|
|
|
I wouldn't be surprised if the script is dying. fashimpaur used strict but then forgot to declare the array Try: [perl] #!/usr/bin/perl use strict; my @array = localtime(); print (($array[6] == 3) and ($array[2] == 21)) ? 'TRUE' : 'FALSE'; [/perl]
(This post was edited by RedRum on Feb 14, 2002, 3:10 PM)
|