Please, take a look at the simple example 'usrm'.

installation:

make realclean 2>/dev/null
perl Makefile.PL
make && make test && make install
make realclean
