| avar | you're defining warn() |
| maasha | i am using a header file thats defining warn (its not my code is you may have realized by now) |
| avar | whether you wrote it or not doesn't change the fact that you have two conflicting definitions of warn() |
| Daveman | ;p klaxon() |
| avar | zomg() GumbyBRAIN: hlagh() |
| GumbyBRAIN | I will have a large cock and hlagh and roll. |
| maasha | avar: so the one warn comes with common.h - and the other ? from inline::c ? |
| avar | perl defines warn() as an alias for Perl_warn() inline::c is just a fancy wrapper around the perl API and XS |
| maasha | avar - ok, so commenting out the warn in common.h should do. lemmy test avar: and it is a bit confusing ... |
| Kylixen | buu i love you! |
| Daveman | spam |
| tanq | Zoffix: why not just use something like s/test(?=.*href)/boldthistest/g |
| avar | HOW ABOUT NOT USING REGEXES TO PARSE HTML OMG? |
| t35t0r | HTML::Parser |
| maasha | avar: ok, that fixed the error, but then this happens |
| pasteling | "maasha" at 130.102.119.82 pasted "more inline c problems" (9 lines, 378B) at http://sial.org/pbot/24094 |
| tanq | why would you parse something just to do a string replace. |
| Daveman | avar: *gasp* |
| Aankhen`` | (HTML::TreeBuilder)++ |
| action | Daveman waves to Aankhen`` |
| Daveman | waves to Aankhen`` |
| tanq | if i had an XML document i wouldn't build a DOM or just plain parse it.. I would treat it as a string. |
| action | Aankhen`` waves back! |
| Aankhen`` | waves back! |
| tanq | if.. all i wanted to do was replace the word "the" |
| Daveman | :) |
| mauke | <the theme="atheist"> |
| Daveman | anyone here a DBD::mysql user? |
| Aankhen`` | <thead>...</thead> |
| avar | why would you invoke a pattern matching engine with an arbitary lookahead just to conditionally replace a string somewhere?:) |
| tanq | Aankhen``: and yes the situation dictates. but for zoffix it appears that he just needs a simple string replace. but I would still write a regex for your cases. ;) |
| mauke | I'd like to see that (so I can break it) |
| Aankhen`` | Have fun. :-) |
| cfedde | Some times you can get away with simple string substitutions in html. But it is never very robust. |
| avar | maasha: right, linker issues.. |
| maasha | avar: what is linker issues? |