|Just another Perl shrine|
a learning exercise - diary programby ailie (Friar)
|on Jan 26, 2001 at 23:57 UTC||Need Help??|
ailie has asked for the
wisdom of the Perl Monks concerning the following question:
Greetings, Monks. If you'd be willing to lend me some of your time and expertise I would appreciate it.
I'm a newcomer to Perl, at the stage where I'm trying to take some of the stuff I've learned from lessons in books and put it into my own little programs. I thought that the diary program (below) would be a good place to start.
I had a few critera I wanted to satisfy with this program - I wanted the entry to be written to two files, a large diary file with all the other entries in it, and to a smaller file with just that date's entries in it. I wanted the date and time to appear before the entries in both files, and for kicks I had the weather in my hometown put into the date file.
I'd like some feedback on this program - I'm sure I have bugs, needlessly long lines, etc. Also, what else would be neat to have put into the date file for posterity? Bone::Easy, perhaps?
Thanks for your time!