more useful options | |
PerlMonks |
Re: P2P Homeworkby MZSanford (Curate) |
on Dec 10, 2002 at 15:17 UTC ( [id://218800]=note: print w/replies, xml ) | Need Help?? |
Just a small thing to think about. both logrequest and debuglog call time() and localtime() 6 times. It seems that logrequest() could be called quite a bit, so it may be a worth-while optimization to use @date = localtime(time), and then reformat from there... You mentioned this was an assignment, so i assume you went for readability ... so that may explain. Just my €0.02from the frivolous to the serious
In Section
Code Catacombs
|
|