Re: Daily Perl FAQ - How do I select a random line from a file? (fwd)

2001-11-28 Thread Philip Newton
On Wed, 28 Nov 2001 12:46:06 -0600, [EMAIL PROTECTED] (Andy Bach) wrote: > Thanks much. I thought there might be related technique for getting a > rand element from an array, but we know the array length so ... this > (from above) did help w/ my getting all the elements in a random order, i.e.

Re: Relationship between Perl and various animals and sitcoms

2001-11-28 Thread Robin Berjon
On Wednesday 28 November 2001 23:59, [EMAIL PROTECTED] wrote: > Apologies to London.pm. > I'm a little embarrassed to admit that the one time I > watched the show I was so distracted by the obvious > feminine charms of the female lead, Sarah Michelle-Gellar, > that I was rendered incapable of foll

RE: Relationship between Perl and various animals and sitcoms

2001-11-28 Thread Andrew . Savige
Dave Cross wrote: > And whilst I'd like to thank you for your help in bringing the > importance of Buffy in Perl Mongers culture to a wider audience, > I'd like to add my voice to those objecting to your characterisation > of the show as a "sitcom". > > It really is so much more :) Apologies to Lo

Re: Daily Perl FAQ - How do I select a random line from a file? (fwd)

2001-11-28 Thread Andy Bach
On Wed, 28 Nov 2001, Ian Phillipps wrote: > On Tue, 27 Nov 2001 at 11:31:39 -0600, Andy Bach wrote: > > Okay, would the maths folk like to offer a helpful explanation? > > -- Forwarded message -- > > How do I select a random line from a file? > > See also > http://groups.google.

Re: fore review ;-) -- Elapse.pm

2001-11-28 Thread Ilmari Karonen
On Mon, 26 Nov 2001, Scott R. Godin wrote: > > Elapse.pm is a very simple class with one method: lapse. > > Basically, the lapse method 'eats the brains' of the variable, > squirrels away whatever value it may have held internally, > (much like space aliens are known to do in the movies), and a

Re: [MacPerl-AnyPerl] Re: 'vacation'

2001-11-28 Thread Noah Iliinsky
"Scott R. Godin" wrote: > > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Johan Vromans) wrote: > > > "Scott R. Godin" <[EMAIL PROTECTED]> writes: > > > > > has anyone implemented a 'better version' of the vacation program for > > > themselves? > > > > From your message it is not quite c

Re: 'vacation'

2001-11-28 Thread Scott R. Godin
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Johan Vromans) wrote: > "Scott R. Godin" <[EMAIL PROTECTED]> writes: > > > has anyone implemented a 'better version' of the vacation program for > > themselves? > > From your message it is not quite clear whether your goal is to have > an im

Re: Daily Perl FAQ - How do I select a random line from a file? (fwd)

2001-11-28 Thread Ian Phillipps
On Tue, 27 Nov 2001 at 11:31:39 -0600, Andy Bach wrote: > Hi. > > Okay, would the maths folk like to offer a helpful explanation? > -- Forwarded message -- > How do I select a random line from a file? See also http://groups.google.com/groups?threadm=xn9zo7tvb5h.fsf%40owl.doc.ic.

Re: Daily Perl FAQ - How do I select a random line from a file?(fwd)

2001-11-28 Thread Gareth Hughes
If anyone still has any doubts on this, then repeat the experiment several times taking the sum of two consecutive line numbers returned. The distribution of the sums should be Gaussian if the line numbers returned are random. The attached plot shows the distribution for 18166 iterations over a

Re: 'vacation'

2001-11-28 Thread Johan Vromans
"Scott R. Godin" <[EMAIL PROTECTED]> writes: > has anyone implemented a 'better version' of the vacation program for > themselves? >From your message it is not quite clear whether your goal is to have an improved vacation program, or do you want an intelligent mail filter? For the latter, try

Re: 'vacation'

2001-11-28 Thread Uri Guttman
> "KCI" == Keith C Ivey <[EMAIL PROTECTED]> writes: KCI> Be very careful with any solution you implement. For the vast KCI> majority of spam, the From: address has nothing to do with the KCI> real sender or any open relay used. Complaining to the KCI> postmaster there just annoys