Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Looping months and daysby Anonymous Monk |
on Jun 18, 2001 at 23:27 UTC ( [id://89411]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello...
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 Edit 2001-06-18 -- ar0n Fixed formatting. Edit 2001-06-18 -- Masem Changed title from "Perl Script"
Back to
Seekers of Perl Wisdom
|
|