I managed to get it up and running, but the getwork thread fails to execute:
Thread 2 terminated abnormally: Invalid value for shared scalar at /usr/share/perl/5.10/Thread/Queue.pm line 90, line 11.
Any help with that?
Edit: I updated Thread::Queue CPAN module and now it works! I have other problem though: when requesting /user/BITCOIN_ADDRESS from the server, I always get "404 not found" message.
Edit 2: Resolved that one as well. It required a change in the code, on line 1303 you have to replace multipool.hpc.tw with an hostname you use. It works great so far, thanks!