Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Corion (Patriarch)
on Mar 23, 2017 at 10:17 UTC ( [id://1185595]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2024-04-23 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found