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.


Comment on Re^3: How to compare two subroutine return values, to trigger email
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994648]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (13)
As of 2015-07-02 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (35 votes), past polls