in reply to Re: Re: Re (tilly) 3: One-Line Web Counter
in thread One-Line Web Counter

The head of this thread is presented as a reusable solution, not as a "here's what I wrote while I was learning, but don't use it for anything".

So, I said "no, don't use this as a reusable solution, use this CPAN module instead". If that's seems condescending or curt, then so be it. But that's not the intention.

If the original poster had clearly labled it as "don't use this", then I won't post any CPAN-one-liners in reply. If it's posted as "this is what I have so far, are there any better ways", I would have offered advice, and probably gotten around to a CPAN solution as well.

But when I see a posting that takes 20 lines to do what 3 can, and poorly at that, and presented as a "please reuse this solution", I will speak up. You can count on that. Many people count on me to do that, in fact.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: On posting for comment
by Jerry (Scribe) on Sep 15, 2001 at 18:06 UTC
    Actually, this was not presented as a reusable solution in any way. It was presented as novelty code for entertainment purposes. No one would initiate a real web counter from the shell. Web counters run through CGI. The thought of a web counter which must be run from the shell is preposterous at best, thus I am amazed that everyone seems to have taken me so seriously. Perhaps I chose the wrong location to post my one-liner. I asked the advice of those in the chatterbox of where it should be posted, and they directed me to Snippets.

    I respect each and every one of you as my teachers, my peers, and my colleagues; but you've taken what was meant to be a humorous bit and turned it into a ridiculous thread.

    -Jerry
    http://www.digilliance.net
    http://www.jerryfowler.net