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,

preventing concurrency between five different perl scripts

2016-02-23 Thread Kenneth Wolcott
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 logic right. I have five perl scripts. I do not want any of them running concurrently a