@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> (or, if you want to do something more complex, you use negative look ahead or look behind)
<1> oh does this not work within regular expressions?
<1> like say I wanted to engate the string "asdf"
<0> NathanJY: what are you actually trying to do?
<0> an example will help us help you
<2> ew73, okay, thank you very much
<1> match everything that's not "*/"
<0> NathanJY: to capture it? or what?
<3> Is it wrong to sing along to Liz Phair while coding?
<1> yeah, match everything that's not it
<3> Specifically, I was singing along to: http://www.lyricsdepot.com/liz-phair/h-w-c.html
<4> Device::SerialPort or Device::SerialPorts, which one would be best to use? Are those 'competing' implementations?
<0> NathanJY: $tmp = $a; $tmp =~ s/\*\///g;....
<1> yeah but I'm doing it inside another expression, I'm trying to extract text within comments in a non greedy manner
<0> NathanJY: perldoc -q comments
<5> http://www.theregister.co.uk/2006/01/27/cingular_emoticon_patent/



<6> BinGOs's url is at http://xrl.us/jq6c
<7> Bingos smites with the code) and then capture with...
<3> BinGOs: I read about that on /. -- yeah, no prior art there. :P
<5> :(
<1> thanks
<1> I just needed .*? to do a non-greedy match
<5> ooops now i have to pay Cingular :(
<5> doh and again.
<1> althoguh I don't understand why there isn't a negation thing for strings
<5> oh and that is a hard 'c' i see.
<5> Kingular.
<3> I dare them to collect on that royalty.
<3> I will sue their ***es into next month.
<5> Chingular, surely.
<2> k, i modified the hylafax-modul and the carp-modul and renamed them etc. and it works :-P
<5> oh maybe not.
<3> Sweet pickle jesus: http://www.youtube.com/watch?v=upTUbqc5Pso
<8> rotfl
<3> Jesus was flying!
<9> hello, i use perl in ommand line to change string into file " perl -pi -e 's/old/new/g' src/*.java" how I can I make this change recursive into subdirectories of src/ ? thanks
<5> God has asked Bush politely to stop mentioning Him in addresses.
<10> find ./src/ -exec 'perl -pi -e "s/old/new/g" {}'; #something like this?
<9> ok thanks dec :) but there is no option into perl ?
<5> find ./src/ -print | xargs perl -pi -e 's/old/new/g'
<8> We responded with our response
<11> narma: glob
<8> And to close I'd like to finish
<8> lol
<11> http://search.cpan.org/~holt/makepp-1.19/Glob.pm
<9> :) yes digitok
<9> but perl is so powerfull that I thought it could do it alone :)
<10> of course it can
<9> and you won't tell me :(
<9> no i c'an't find how to do it in one line
<10> I don't know the easiest way to open a file, s/// inside it and then write it back out, but this should get you started:
<10> perl -MFile::Find -wle 'sub w{ -f && print; } find(\&w,"./src");'
<10> that w() sub could be some sort of open(NEW,'>',$File::Find::name . "_new") && open(FH,$File::Find::name) && while (<FH>){s/old/new/g; print NEW;} move($File::Find::name."_new", $File::Find::name); close NEW; close FH;
<10> but that is messy as HELL
<10> because i'm tired and just a little drunk =)
<9> :) ok dec have a good time
<10> i will :)
<10> read docs for File::Find
<12> good morning
<9> thank but I use find ;)
<10> okay
<10> morning integral
<5> we have a water boiler cluster next door.
<13> BinGOs: .. beowulf .. ?
<5> haha
<13> :p
<5> two boilers one water supply. a cluster, no.
<5> >:)
<14> how can i get a webpage that requires my cookie data?
<12> Do you mean write a CGI program that uses cookies?
<12> But in general, you need to do some of this "programming" stuff



<14> no, i want to recive data from a webpage..
<12> You mean write a perl script that accesses a webpage as a HTTP client?
<14> exactly
<12> If so, you want the libwww-perl distribution and it's LWP::UserAgent (or LWP::Simple) module
<15> haha. anton_
<15> That is very Simply
<15> you can use the module LWP
<15> may be use the Module HTML::TreeBuilder or HTML::Parser
<15> so.
<5> or POE::Component::Client::HTTP >:)
<15> :-D
<3> Too many ::'s!
<3> It must be crap!
<15> why crap?
<12> It's ew73's :: theorem
<15> Haha
<14> the text-parsing part is no problem..
<5> This::Is::Not::A::Love::Song
<14> the problem is to get the webpage to recognize me
<3> Theory Proved!
<15> and get the content from web page must be no problem
<12> anton_: LWP::UserAgent has methods to put biscuits in the cookie jar
<14> integral: i'll check that out
<12> ooh, Lemon & Pepper Turkey Cutlet!
<15> Hi, all tomorrow is New Year's eve Chinese. are there Chinese or overseas Chinese?
<12> I think you dropped your grammar when you came in.
<15> me?
<3> Year of the Dog. I've said it before, piece of **** year.
<14> integral: it works, thank you! ^^
<12> what works?
<12> It wasn't me! Honest!
<15> :-/
<5> Year of the Dawg.
<16> GumbyBRAIN: Beer brewed from the finest dogs by our trained helpd desk staff.
<7> Yaakov: We're trained to the desk - how can i just scream 'you ****!'?
<16> err
<16> GumbyBRAIN: Beer brewed from the finest dogs by our trained help desk staff.
<3> GumbyBRAIN: Did they ever find a successful vehicle for Ellen Kleghorn?
<7> ew73: They got a 4-port pseudoraid card. We'll see where i remember that name is ellen.
<3> gumby is kind of scary.
<13> gummy is getting VERY scary
<13> GumbyBRAIN: braaains!
<7> Botje: Http://whitt.com/images/9/91/blinkie.gif.
<13> GumbyBRAIN: GumbyBRAIN GumbyBRAIN
<13> GumbyBRAIN: *poke*
<13> did i kill it? :/
<12> GumbyBRAIN: Are you rate limited now?
<7> integral: Now is the idea to buy anyone cards as it's being a native ethereal install for you to be limited.
<16> GumbyBRAIN: An intricate web of stupidity.
<7> Yaakov: See even freddy doesnt like the db schema was hobbled together by a lot of stupidity in its own httpd -- not in production, a new buzzword for the web.
<3> When gumby starts using semicolons properly, I shall be afraid for my life.
<13> GumbyBRAIN: what's a semicolon?
<7> Botje: A stereotype is a semicolon or not?
<17> omgosh it's early
<16> Oh what a tangled web we weave when first we practice HTTP.
<17> how does anyone function so early in the morning?
<16> KWEDNAR!
<3> q[ender]: Coffee. Or methamphetamines.
<18> morning?
<17> Yaakov, use Web 2.0!!
<17> yes, morning
<17> horrible, horrible morning
<17> couldn't sleep, so i'm working
<17> *groan* what a life
<16> Morning is the best.
<16> I get up at 4:15.
<17> whoa!
<17> you crazy guy you
<5> GumbyBRAIN is teh rate throttled, Botje


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

returned status 2304
xorg viewsonic 15
ubuntu nzbget zlib
#python
#perl
xmms-status-plugin suse
y2pmsh broken requirement
mysql factorial segfault
t
nma_dbus_init could not acquire service



Home  |  disclaimer  |  contact  |  submit quotes