Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 drinking their drinks and smoking their pipes about the Monastery: (11)
As of 2014-09-30 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (369 votes), past polls