#perl - Mon 9 Apr 2007 between 01:15 and 01:24



avaryou're defining warn()
maashai am using a header file thats defining warn (its not my code is you may have realized by now)
avarwhether you wrote it or not doesn't change the fact that you have two conflicting definitions of warn()
Daveman;p
klaxon()
avarzomg()
GumbyBRAIN: hlagh()
GumbyBRAINI will have a large cock and hlagh and roll.
maashaavar: so the one warn comes with common.h - and the other ? from inline::c ?
avarperl defines warn() as an alias for Perl_warn()
inline::c is just a fancy wrapper around the perl API and XS
maashaavar - ok, so commenting out the warn in common.h should do. lemmy test
avar: and it is a bit confusing ...
Kylixenbuu i love you!
Davemanspam
tanqZoffix: why not just use something like s/test(?=.*href)/boldthistest/g
avarHOW ABOUT NOT USING REGEXES TO PARSE HTML OMG?
t35t0rHTML::Parser
maashaavar: 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
tanqwhy would you parse something just to do a string replace.
Davemanavar: *gasp*
Aankhen``(HTML::TreeBuilder)++
actionDaveman waves to Aankhen``
Davemanwaves to Aankhen``
tanqif i had an XML document i wouldn't build a DOM or just plain parse it.. I would treat it as a string.
actionAankhen`` waves back!
Aankhen``waves back!
tanqif.. all i wanted to do was replace the word "the"
Daveman:)
mauke<the theme="atheist">
Davemananyone here a DBD::mysql user?
Aankhen``<thead>...</thead>
avarwhy would you invoke a pattern matching engine with an arbitary lookahead just to conditionally replace a string somewhere?:)
tanqAankhen``: 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.
;)
maukeI'd like to see that (so I can break it)
Aankhen``Have fun. :-)
cfeddeSome times you can get away with simple string substitutions in html. But it is never very robust.
avarmaasha: right, linker issues..
maashaavar: what is linker issues?

Page: 1 8 15 22 29 36 43 50 57 64 

IrcArchive