I do not know if perl will allow to compare number and sting variable in a single if statment
for e.g.
if (($current_transaction_key_code == $previous_transaction_key_code) && ($current_month_end_date eq $previous_month_end_date) && ($current_channel eq $previous_channel) )
here $current_transaction_key_code storsand $previous_transaction_key_code is a number
if it not possible do I need to convert everything in string and change the == to eq
I do not know how can we convert number to string also
kindly help out
Thanks
for e.g.
if (($current_transaction_key_code == $previous_transaction_key_code) && ($current_month_end_date eq $previous_month_end_date) && ($current_channel eq $previous_channel) )
here $current_transaction_key_code storsand $previous_transaction_key_code is a number
if it not possible do I need to convert everything in string and change the == to eq
I do not know how can we convert number to string also
kindly help out
Thanks