Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My name is Seema, I am new on this site..please bare with me.
I have looked at a few of the questions and examples, in some of the responses that other people have had problems with. Though I didn't find one that would relate to my problem.
I would like to ask you a question. I am working on a project which deals with Unix, Perl, and HTML scripts. I have already created a website which will monitor on a day-to-day basis (with the Unix machine).
Though, I have ran into a slight problem. In order for this website to work, I need to write a script in Perl so I can put it on the Unix machine. I need a script that will loop 31 days, daily.
For example: April 30 - May 30. The loop needs to repeat daily. So, when its May 31, the dates should change to May 1. April 30 should be dropped off the loop.
My question is...how would I come about doing this particular loop? Hopefully someone can suggest a few example scripts or references which can help me out.
Thanks! ~Seema
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Script
by TGI (Parson) on Jun 19, 2001 at 00:08 UTC | |
|
Re: Perl Script
by Mission (Hermit) on Jun 18, 2001 at 23:43 UTC | |
|
Re: Perl Script
by earthboundmisfit (Chaplain) on Jun 19, 2001 at 00:58 UTC | |
|
Re: Perl Script UH, What?
by Nitsuj (Hermit) on Jun 19, 2001 at 00:40 UTC | |
|
Re: Perl Script
by hsweet (Pilgrim) on Jun 19, 2001 at 03:46 UTC | |
|
Re: Perl Script
by Anonymous Monk on Jun 19, 2001 at 01:41 UTC | |
by Graham (Deacon) on Jun 19, 2001 at 01:46 UTC | |
|
Re: Looping months and days
by Anonymous Monk on Jun 22, 2001 at 18:03 UTC |