in reply to Re^4: Unable to use if condition inside foreach loop using perl?
in thread Unable to use if condition inside foreach loop using perl?

You gave some vague description of what you think the overall program does, but you did not describe the line I quoted. Let me quote it again:

if(my $pattern =~ /^REVISION_LOCATION:/){ #1 #2 #3 #4 #5#6

Please describe all the points in the line together with their number.

Please describe what the my keyword does and why you used it in the place you did.

Please also describe what you think the value of $pattern will be in this line, and why.

Replies are listed 'Best First'.
Re^6: Unable to use if condition inside foreach loop using perl?
by Anonymous Monk on Mar 23, 2017 at 17:32 UTC
    It's no use, Corion. He doesn't understand you. No amount of sarcasm is going to make him comprehend English.

      It's no use, Corion. He doesn't understand you. No amount of sarcasm is going to make him comprehend English.

      Its not sarcasm, its basic communications , basic troubleshooting, you can't help or solve a problem, until you establish common ground, so you can understand which assumptions/conditions are false