Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by finddata (Sexton)
on Mar 23, 2017 at 10:15 UTC ( [id://1185593]=note: print w/replies, xml ) Need Help??


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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^5: Unable to use if condition inside foreach loop using perl?
by Corion (Patriarch) on Mar 23, 2017 at 10:17 UTC

    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.

      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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1185593]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-29 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found