Re: OT: Python

2013-10-26 Thread Ed Davis
more these days) for a living. Perl is brilliant. Everyone should be told :-D > On 27 Oct 2013, at 01:04, David Christensen wrote: > > On 10/26/13 16:25, Ed Davis wrote: > > I would think the question being asked isn't 'OT' which is namely: what's > > r

Re: OT: Python

2013-10-26 Thread Ed Davis
ion by my own. > > >> On Oct 26, 2013, at 7:25 PM, "Ed Davis" wrote: >> >> I would think the question being asked isn't 'OT' which is namely: what's >> runtime v compile time ... (and Python's .pyc's are sort of in the middle

Re: OT: Python

2013-10-26 Thread Ed Davis
I would think the question being asked isn't 'OT' which is namely: what's runtime v compile time ... (and Python's .pyc's are sort of in the middle). Id think a beginners list first task would be to help you make the choice? > On 27 Oct 2013, at 00:15, wrote: > > Thanks for answering my quest

Re: OT: Python

2013-10-26 Thread Ed Davis
I got past the white space sensitivity through determination (using vi) and through sensible solutions (eventually using BB Edit on my mace which can '4 space tab equiv'). I use both but find perl fits my work well and so my second language has become JS. I support that this is not a language v

Re: Sleep

2013-09-16 Thread Ed Davis
(DOH - Obviously I was using 10 seconds to test!) On 16 Sep 2013, at 00:49, "John W. Krahn" wrote: > Shawn H Corey wrote: >> On Sun, 15 Sep 2013 13:00:36 -0700 >> Unknown User wrote: >> >>> If my perl script has a sleep for say 300 seconds, when the sleep is >>> being run is there any way i ca

Re: Sleep

2013-09-16 Thread Ed Davis
Hi, I might be being a noob but reading the OP, aren't they wanting to call the value arbitrarily? Meaning, e.g. an Ajax call in a web page could send a request to find out the time remaining in the sleep. I guess that the sleep (which will halt the script) needs to be invoked after forking a

Re: Perl Script for parsing log files.

2013-05-08 Thread Ed Davis
Hi My first contribution to the list! Probably the simplest way to do this is (once you have apache2 installed and working) to create a script that looks a bit like this: !#/usr/bin/perl use strict; use warnings; sub mylogparser { Your script } mylogparser (); print "Content-type: text/htm