Well, I did RTFM of both modules, but missed some parts apparently.. Like
. I'll blame
API for mixing up C-style constants and Perl-style constants. I can also blame myself for not copy&paste the code like I did for the
example. It seems that it was the
that prevent the code to run. When I comment this option, the script works.
Well, thanks anyway.