in reply to Problems Passing an object to a function that was passed to a module
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)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Problems Passing an object to a function that was passed to a module
by Oliver.Doerr (Initiate) on May 03, 2021 at 09:41 UTC |