time manipulation help

M

mike888

Hi,

I am having problem with "use strict;" with hour manipulation.
I want my programs to run certain thing between the 11.15pm until
6.15am.
can someone help me?
thanks alot, i appreciate it.
 
U

usenet

I am having problem with "use strict;" with hour manipulation. I want
my programs to run certain thing between the 11.15pm until 6.15am.

strict() can only manipulate minutes, not hours. You should "use
warnings()" if you want to manipulate minutes (because warnings are
more time-sensitive).

FWIW, if you ask a bad question, expect a bad answer. See the posting
guidelines for this group for some advice on how to ask a good question
(and get a good answer):

http://www.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
 
T

Tintin

Hi,

I am having problem with "use strict;" with hour manipulation.
I want my programs to run certain thing between the 11.15pm until
6.15am.
can someone help me?
thanks alot, i appreciate it.

The Perl strict module is coded to ensure any scripts that uses it, will
deliberately have problems when used between 11:15pm and 6:15am. This is to
ensure the module is not overused during the period most people are
sleeping.
 
D

DJ Stunks

Hi,

I am having problem with "use strict;" with hour manipulation.
I want my programs to run certain thing between the 11.15pm until
6.15am.
can someone help me?
thanks alot, i appreciate it.

if you _really_ want to get ahead of the curve you should be using
Perl6::strict in which the strictures have been ratcheted up a notch
and now all lexicals must be defined using "simon says":

#!/usr/bin/perl

use warnings;
use Perl6::strict;
use Perl6::say;

simon says $string = 'Hello, World!";
say $string;

__END__

-jp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,263
Messages
2,571,064
Members
48,769
Latest member
Clifft

Latest Threads

Top