Re: preventing concurrency between five different perl scripts

2016-02-24 Thread Kenneth Wolcott
On Wed, Feb 24, 2016 at 9:10 AM, Shawn H Corey wrote: > On Wed, 24 Feb 2016 18:47:09 +0200 > Shlomi Fish wrote: > >> Hello Kenneth, >> >> On Tue, 23 Feb 2016 18:34:54 -0800 >> Kenneth Wolcott wrote: >> >> > Hi; >> > >> > This seems like a very simple concept, but I'm not getting it, so >> > I'

Re: preventing concurrency between five different perl scripts

2016-02-24 Thread Shawn H Corey
On Wed, 24 Feb 2016 18:47:09 +0200 Shlomi Fish wrote: > Hello Kenneth, > > On Tue, 23 Feb 2016 18:34:54 -0800 > Kenneth Wolcott wrote: > > > Hi; > > > > This seems like a very simple concept, but I'm not getting it, so > > I'd like some help. > > > > So part of this is perl (not understa

Re: preventing concurrency between five different perl scripts

2016-02-24 Thread Shlomi Fish
Hello Kenneth, On Tue, 23 Feb 2016 18:34:54 -0800 Kenneth Wolcott wrote: > Hi; > > This seems like a very simple concept, but I'm not getting it, so > I'd like some help. > > So part of this is perl (not understanding readdir and/or glob well > enough) and part of it is not getting the log

Re: preventing concurrency between five different perl scripts

2016-02-23 Thread Atnakus Arzah
On Tue, Feb 23, 2016 at 06:34:54PM -0800, Kenneth Wolcott wrote: But where I run into trouble is the actual glob or readdir as $0 might be "./script1.pl" or "/full/path/to/script1.pl" or "script1.pl". Perhaps I should use basename? Perhaps a simple regex? I tried something similar with glob,