Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: How to compare two subroutine return values, to trigger email

by brap (Pilgrim)
on Sep 20, 2012 at 12:45 UTC ( #994648=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to compare two subroutine return values, to trigger email
in thread How to compare two subroutine return values, to trigger email

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994648]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-05-29 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?