in reply to Link Tracker
Yes. You are improving. Now if we could just convince you to indent your code! ;) As for this item:
This indeed does increment $value, but after it's original value has been fetched and stored into $db{$url}. You could have used this instead:$db{$url} = $value++; # post increment!
But Anonymous Monk's suggestion is much better. Also, consider switching to HTML::Template (although i will commend you for at least using qq). It's really not that hard, and with the help of my tutorial you should be able to pick it up fairly quickly. (If you can work with DB files, you can handle HTML::Template! ;))$db{$url} = ++$value; # pre increment!
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Link Tracker
by sulfericacid (Deacon) on Sep 13, 2003 at 21:25 UTC | |
by graff (Chancellor) on Sep 13, 2003 at 22:59 UTC |