|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: How to compare two subroutine return values, to trigger emailby brap (Pilgrim) |
| on Sep 20, 2012 at 12:45 UTC ( #994648=note: print w/ replies, xml ) | Need Help?? |
|
Hi anakin30, I believe GrandFather was under the impression that your query_LDAP and query_AD functions would return the results of the queries, instead of printing them to the screen. If you return $LDAP_name; and return $AD_name; at the end of each function, your comparison should do what you want.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||