Your construct is creating an anonymous sub {parseGroupDescription} which gets into the way - it doesn't pass the value it receives to parseGroupDescription.
A quick guess: Just replace sub {parseGroupDescription} by a direct reference to your named sub:
my $data=$zbdbObj->fetchData($ldapConn,$serviceFilter,$groupFilter,\&parseGroupDescription)In reply to Re: Problems Passing an object to a function that was passed to a module
by haj
in thread Problems Passing an object to a function that was passed to a module
by Oliver.Doerr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |