Hello Kenneth, On Tue, 23 Feb 2016 18:34:54 -0800 Kenneth Wolcott <kennethwolc...@gmail.com> 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 logic right. > > I have five perl scripts. > > I do not want any of them running concurrently as they will use a > common resource which will cause corruption in the resource and will > probably consume too much CPU and/or RAM/ and/or I/O. Why not just use flock - see http://perldoc.perl.org/functions/flock.html ? Regards, Shlomi Fish -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/