selinux was the culprit,thank you very much!
I've changed the example.pl perl script so it 'use DBI;' to query a Sybase server via freetds. Any hints welcome for solution or better tools to debug/strace into the perl script.