First up, &DB_query1 probably isn't doing what you think. Use DB_query1() instead. Given that change as far as I can tell all you need do is:
if (DB_query1() ne DB_query2()) { # Do stuff here if the strings don't match }
In reply to Re: How to compare two subroutine return values, to trigger email
by GrandFather
in thread How to compare two subroutine return values, to trigger email
by anakin30
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |