in reply to String matching question

Let's narrow it down a little bit. Replace the code:
if ($pro_logline =~ /$transaction_id/) {
with the following:
if ($pro_logline =~ /30915/) {
This might give us a clue about where to look next...

Update: I'm getting downvoted? That's funny, the response below seems to indicate that I was right...

buckaduck