rmck wrote:
Hello,
Hello,
I have a script that I want to print only if between 08:00 and 17:00. Would I match
> every hour then print?? Any cleaner way to do this would be great. Thanks
Cleaner? Yes, use appropriate whitespace and indentation and remove redundant
code. :-)
my($sec,$min,$hour,$
Rmck wrote:
I have a script that I want to print only if between 08:00 and
17:00. Would I match every hour then print?? Any cleaner way to do
this would be great. Thanks
my($sec,$min,$hour,$mday,$mon);
($sec,$min,$hour,$mday,$mon)=localtime;
You can declare and assign the variables in the same expr
On Tue, 2004-08-24 at 14:49, rmck wrote:
> Hello,
Hi
> I have a script that I want to print only if between 08:00 and 17:00. Would I match
> every hour then print?? Any cleaner way to do this would be great. Thanks
>
> my($sec,$min,$hour,$mday,$mon);
> ($sec,$min,$hour,$mday,$mon)=localtime;
I