steve silvers wrote:> Quick question. I need my script to generate two weeks worth of dates and > days starting with the Saturdays.> > So on Friday 07/04/2003 my script would generate the below for the next two > weeks, and so on..> > 07/05/2003 Saturday> 07/06/2003 Sunday> 07/07/2003 Monday> 07/08
Messenger, Mark wrote:
> A shorter (and sloppier) version...
>
> # Look ma, no modules!
What ? My 10 liner was too short for you (it even worked on
non-Fridays) ? :)
> @monlens=(31,28,31,30,31,30,31,31,30,31,30,31);
> @daynames=('Sunday','Monday','Tuesday','Wednesday','Thursday','Fri
Hello,
I wanna make a Perl script doing some little jobs before my PC's shutdown,
Windows 2000 pro.
Is there a start-up-folder-like folder executing scripts at shutdown time or
I must running all the day long a script waiting WM_ENDSESSION message, which
I don't think perl script can receive it?
Title: RE: Get time and date for 2 weeks at a time
A shorter (and sloppier) version...
# Look ma, no modules!
@monlens=(31,28,31,30,31,30,31,31,30,31,30,31);
@daynames=('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
($sec,$min,$hour,$mday,$mon,$year,$w
[EMAIL PROTECTED] wrote:
Quick question. I need my script to generate two weeks worth of dates
and days starting with the Saturdays.
So on Friday 07/04/2003 my script would generate the below for the next
two weeks, and so on..
07/05/2003 Saturday
07/06/2003 Sunday
07/07/2003 Monday
07/08/20
steve silvers wrote:
> Quick question. I need my script to generate two weeks worth of dates and
> days starting with the Saturdays.
>
> So on Friday 07/04/2003 my script would generate the below for the next two
> weeks, and so on..
>
> 07/05/2003Saturday
> 07/06/2003Sunday
> 07/07/20
Quick question. I need my script to generate two weeks worth of dates and
days starting with the Saturdays.
So on Friday 07/04/2003 my script would generate the below for the next two
weeks, and so on..
07/05/2003 Saturday
07/06/2003 Sunday
07/07/2003 Monday
07/08/2003 Tuesd
it is $SIG{__DIE__} actually...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Carl
Jolley
Sent: Tuesday, July 15, 2003 7:39 PM
To: FARRINGTON, RYAN
Cc: [EMAIL PROTECTED]
Subject: Re: Error trapping
On Mon, 14 Jul 2003, FARRINGTON, RYAN wrote:
> Ok I have
On Mon, 14 Jul 2003, FARRINGTON, RYAN wrote:
> Ok I have a perl script that has been compiled as an executable and is
> running on a 2K server as a service. Now the problem is that it is die'ing
> without generating an error. Is there anyway to trap the die and then have
> it output it to a functi
On Sun, 13 Jul 2003, Lawrence F. Durfee wrote:
> I wanted to examine my old code to see that this isn't a problem elsewhere. I
> thought I understood the issue, but I guess not. I looked at several PerlMonk
> threads, as suggested, including:
>http://www.perlmonks.org/index.pl?node_id=30
10 matches
Mail list logo