#perl - Thu 29 Mar 2007 between 00:14 and 00:22



whitenoyceok cool
snoop0x7bthere's both www::google and net::google
whitenoycewhat about the msn one?
Randalyou can just make up a string, and it wokrs. :)
snoop0x7bI'm not sure which one is better
:p
whitenoycei think alexa has one too
i'm hitting msn, yahoo and g in about that order
Randaloooh - Geo::Google - driving directions!
snoop0x7bit seems like Net::Google is what you'd want if you're searching
whitenoyceno google isn't as impt as msn or yahoo for what i'm doing
everyone seems fixated on google, but not enough "buyers" use it
Aankhen``WWW::Search?
whitenoycejust po ppl like me used to use it
snoop0x7bAankhen``++
:P
Aankhen``:-)
snoop0x7bthat's a pretty cool class
whitenoyceAs of December 5, 2006, we are no longer issuing new API keys for the SOAP Search API. Developers with existing SOAP Search API keys will not be affected.
wtf
Aankhen``Right, so, how do I keep matching a string against a regex? (I don't want to use /g since that clobbers the capture groups.) I'm using while ($foo =~ /\G.../g) { ... } at present, but it only seems to match once. :-S
whitenoyceyou know google is evil
i hear the bullshit about them not being evil but they're liars and thieves
Aankhen``What successful company isn't?
Randaleval: $_ = "abcde"; while (/\G(.)/) { push @x, $1 } \@x
buubotRandal: Out of memory!
Randalwhoa
eval: $_ = "abcde"; while (/\G(.)/g) { push @x, $1 } \@x
buubotRandal: ['a','b','c','d','e']
Randalforgot that. :)
eval: $_ = "abcde"; while (/\G(..)/g) { push @x, $1 } \@x
buubotRandal: ['ab','cd']
Randalworks for me
Aankhen``Hmm, that works for me too. I guess I need to dive into the innards of the regex I'm using.
Randalheh
Aankhen``Not an enjoyable task. :-P
Randalmaybe this is what you are seeing
eval: $_ = "abc de"; while (/\G(\S)/g) { push @x, $1 } \@x
buubotRandal: ['a','b','c']
Randalnotice it can't go from c to d

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 

IrcArchive