in reply to Perl script that will control mailing list

Mailing lists have been done to death. One of the best mailing list scripts out there happens to be written in Perl: majordomo.


Dave

  • Comment on Re: Perl script that will control mailing list

Replies are listed 'Best First'.
Re^2: Perl script that will control mailing list
by nicpon (Initiate) on Sep 02, 2005 at 16:54 UTC
    I guess I will pass the mailing list but how about that script that would show me who's online. I mean by this a script that print on my website somewhere how many people is currently browsing my page ??

      For that, people need to voluntarily log in somehow. Just like here at PerlMonks, for example. Here, we log in and accept a cookie. On future visits (assuming we've got the "keep me logged in" option set) that cookie announces our presence. Then each time we hit the server, our "last seen" timestamp gets updated. The "Other Users" nodelet here at the Monastery, which shows who else is currently logged in, is actually a "Who has hit the server with a recognized cookie in the last ten minutes".

      That's about as good as you can do on the web. There is no true "logged in" state for the web; just "recently here". This isn't a Perl situation, it's a condition resulting from the fact that the Web is stateless.


      Dave