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.02In reply to Re: P2P Homework
by MZSanford
in thread P2P Homework
by Beatnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |