my first CPAN module
long time no posts here. it was a very busy time and the turn of the year was reserved for recreation. that meant no hacking, or at least near to no hacking. it is now well into january already and my new year resolutions include way more activities in the open source space. i use open source every day and contributed to some projects but never released stuff i wrote. that is partly due to the environments i worked in and partly pure laziness.
fighting the latter one i started to release my daemon framework that i use for event driven programming in perl for quite a while. this framework is a grown thing and it takes quite a bit to clean it up and make it a framework rather than a bunch of libraries that happen to be used together. the first step was to create a git repository on gitgub and import all the stuff initially. i cleaned it up a bit and packaged it as a CPAN package and viola, here is Net::Server::Framework.
this package is a complete event driven infrastructure that still needs heaps of documentation and misses quite some parts as i did not get around cleaning up all the parts i wanted to. it obviously includes some parts that just grew and should have been replaced ages ago. all in all you can, however, take the beast, unpack it and start writing daemons.
in a post that will come later on i'll explain the inner workings a bit more, the idea of it is, that you write a daemon per functionality and then let those daemons interact with each other. if you are familiar with erlang you will notice the parallels here and probably understand why i think that erlang is a perfect fit for my sick brain and the problems i try to solve. the stuff you find on the github repository contains two working daemons that you can use as templates.
go out and play with it, feel free to mail me with questions, have fun with event driven programming.
Leave a comment