Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: My "if" is failing!

by Sumtingwong (Novice)
on Nov 30, 2012 at 06:32 UTC ( #1006417=note: print w/replies, xml ) Need Help??

in reply to Re: My "if" is failing!
in thread My "if" is failing!

Yeah, to say my logic was wrong was an understatement! I played around with the original for a few minutes today and inserted a few print statements--my poor man's debugger. I didn't realize that the search string was going to go through every line in the html file--don't quite know what my thinking was when that is what I expected the input file to do. Makes sense now and the elegance of your solution is clear to me now.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2016-10-25 18:51 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.