Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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.

Comment on Re^2: My "if" is failing!

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 avoiding work at the Monastery: (4)
As of 2015-11-29 11:06 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (750 votes), past polls