Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 musing on the Monastery: (4)
As of 2014-08-31 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls