Book Reviews   Digital Libraries   Astronomy Log   Software   About  

Cool perl modules in the Sys:: tree
23 September 2005 13:40

Went digging through Sys:: modules on CPAN today and found some gems:

Sys::RunAlone - Ever written a script that you needed to ensure there was only ever one copy of it running?

    use Sys::RunAlone;
    ...
    __END__
and you're done. The module uses the DATA handle in the script as a semaphore. Nice. Fits nicely with the ideals espoused in Damian Conway's sufficiently advanced technology talk.

Sys::RunAlone CPAN page.

Sys::RunUntil - Ever written a script that you only want to run for a specified amount of time, regardless of what it happens to be doing? Forget about forking and calling alarm(), etc. Just:

    use Sys::RunUntil '30mW';
to let it run for only 30 minutes (wallclock time). Interested only in CPU time? Then
    use Sys::RunUntil '30sC';
and you're good. Nice.

Sys::RunUntil CPAN page

Enjoy!


Comments
Happiness
True love begins when the needs of others become more important than your own.
The practice of true love begets true happiness

Me

Daniel Hanks

I'm a system administrator working for Omniture

Interested in

perl
books
python
databases
genealogy
astronomy
digital archival
digital libraries
web applications
web infrastructure
distributed storage

among other things . . .

Storyteller


Pamela Hanks

is an excellent storyteller.

(She also happens to be my wife :-)

A storyteller makes a wonderful and unique addition to family, school, church or other group events. Schedule her for your next gathering.


Kiva.org
Kiva - loans that change lives

Recent Blog Entries

Subscribe with Bloglines
- OpenWest Conference 2014 Presentation Slides - Ansible
- OpenWest Conference 2013 Presentation Slides
- Utah Open Source Conference 2012 - Presentation slides
- E-Book Review: Data Mashups in R
- Book Review: Illustrated Guide to Astronomical Wonders
- Book Review: Wicked Cool Shell Scripts
- PLUG Presentation Slides: The Open Source Data Center
- Harnessing human computational power from computer games
- I love a good roadtrip
- FamilySearch Developers Conference 2008 presentations now available online
- FHT follow up: an idea for a mobile genealogical application
- Family history and technology: it's only getting better
- President Hinckley passes away
- December is NaBoMoReMo - National Book of Mormon Reading Month
- Family History, Photos, Blogs, and Books
- The Compact Oxford English Dictionary
- 1830s English and the Book of Mormon
- Google adds My Library feature to Book Search
- Utah Open Source Conference
- Wiki diagrammer (Steal this idea!)

All Entries . . .

LDSOSS
LDS Open Source Software
A website discussing the use of Open-source software for applications useful to those sharing values of the Latter-day Saint (Mormon) faith.

© 2009, Daniel C. Hanks