Looking at http://cpansearch.perl.org/src/ELIZABETH/Sys-RunAlone-0.12/t/RunAlone.t its written in non-portable manner (like a shell script)
Looking at http://cpansearch.perl.org/src/ELIZABETH/Sys-RunAlone-0.12/lib/Sys/RunAlone.pm its a very simple module based around flocking the DATA filehandle -- it will work on windows even if the test suite is broken (should have used Proc::Background or IPC::System::Simple )
However I would not use it because the test suite is still broken and the author knows how to code for portability
I would use File::HomeDir with File::Lockfile ( lock $my_data/appname/.lockfile )
See also only allow single instance of program running, Ensuring only one copy of a perl script is running at a time, Wx::SingleInstanceChecker
In reply to Re^3: Can't install Sys::RunAlone
by Anonymous Monk
in thread Can't install Sys::RunAlone
by gepebril69
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |