in reply to Re: Re (tilly) 3: One-Line Web Counter
in thread One-Line Web Counter
Personally I learnt a lot more from tilly's post than merlyn's, because I had not thought about using END{}. Obviously this example (of a counter) could not be used in a 'real' site (no file locking etc) but then again I'm sure it would be better to just parse the Apache logfile than use any sort of counter.
When I'm at work I always think it's better to show people the 'long-hand' way of doing things before using shortcuts, because there will be times when shortcuts/modules are not available. (This is on AXE switches, not Perl, but you get the idea). If you teach someone a procedure and later they write their own script to automate it, then you know that they've really understood it.
Basically if people are only shown how to use the shortcuts, then after a while there will be no-one left who actually knows how to write the shortcuts in the first place.
JJ
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
On posting for comment
by merlyn (Sage) on Sep 11, 2001 at 01:34 UTC | |
by Jerry (Scribe) on Sep 15, 2001 at 18:06 UTC |