Hi, I am trying to get any error messages from add, delete and modify to a specific log file. I'm having problem with the correct syntax. I use perldap2701. I try following:
$ldap = Net::LDAP>new('$myserver:$myport', onerror => $mysub) or die
"$@";
where $mysub is a reference to a subroutine like
$mysub = &testerror() { print "some message"; ..... }
Nothing happens probably due to syntax but why?
regards and thanks
Peter S�rensen/University of Southern Denmark/email: [EMAIL PROTECTED]
