@# 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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33



Comments:

<0> pravus: ahoy matey!
<1> rindolf: I use perl on all sorts of platforms. Windows is one of those platforms.
<2> GumbyBRAIN: sleep
<3> Roleld back to sleep.
<4> tybalt89: thank you, so this is a correct way to fill a hash?
<5> y0, rinny
<6> Afternoon...
<7> %hash = map { $_, 1 } @array; # I like this, perl has no "correct" way
<2> what POE module is best used to create a server that uses UDP?
<2> actually TCP instead
<6> Anyone can tell me real quick how to do a global change in multiple files from the comamnd line?
<2> UDP will be a pita
<0> BinGOs: I see.
<1> :)
<0> simcop2387: hi.
<8> simcop2387: PoCo-Server-TCP ?



<6> something like: perl -e "s/this/that/g" *
<2> rindolf: hey
<2> pravus: thanks
<8> simcop2387: there might be a more specific one for whatever protocol you intend to implement
<2> pravus: one i'm designing so i doubt it :)
<1> rindolf: I run perl on Windows, linux, FreeBSD, OpenBSD, NetBSD and recently GNU/Hurd
<7> marty: perl -i.bak -pe 's/one/two/g' file1 file2 ...
<1> rindolf: oh and Solaris.
<6> tybalt89: Can I put * instead of file1 file2
<6> There's 30 files there
<7> marty: yes
<6> ok cool - thanks a lot!
<0> BinGOs: GNU/Hurd...
<0> simcop2387: what's up?
<0> simcop2387: aren't you 18 or 19 or so?
<2> 21
<2> i used to be 18 or 19, don't remember which though
<2> now to go design a state machine for the protocol, at least the begining of it
<6> hey - great idea fr the backup thanks!
<9> better idea: use version control. That way, you get a sandbox to play in, diff, and revision history
<4> ok, I need one more thing to complete my program, how do I search a value in a hash, if I don't care for the ***ociated key? I want to know if there are any values >1
<10> newbie question, sorry. how can i use perl to convert a file from 'big endian' to 'little endian' (note: its ucs2, 16 bit characters).
<7> grep $_ > 1, values %hash;
<4> thank you
<9> clubbing seals with an uzi!
<11> bobnormal: pack/unpack, n and v
<12> mauke!
<11> hi, scrottie
<11> have you seen http://mauke.ath.cx/stuff/poly.poly (now with perl6 and ruby support)?
<13> rindolf: ping?
<12> mauke: I just want you to know that if my girlfriend would let me build a dungeon, I would enslave you and force you to write code for me.
<11> hahaha
<11> <@wolverian> jesus on a stick <@wolverian> mauke, you are a very, very evil individual <@wolverian> I love you.
<14> scrottie - eh, just have a talk with her. There are some good BDSM books, and also good polyamory books. You don't have to bury your sincere, fetished love for mauke in bitter jokes.
<15> The first thing I would write in such situation is somehing that would corrupt the dungeon... :)
<11> also, http://bash.org/?12173
<0> Hi LeoNerd
<13> Have you looked at my warndie branch yet? I was wondering.. if it's all OK, do you merge it down to trunk, or should I, or what?
<12> ayrnieu: I'm not quite ready for the direct approach yet. Maybe I'll try the "he followed me home" trick first.
<12> Ani-_: That's the great thing about dungeons. They're already so dirty, it's hard to defile them further, in any meaningful way.
<15> scrottie: I would make the code open all of the doors... :)
<12> Kinky! Then people could watch!
<16> Yeay, seems to be working on openbsd 3.9
<16> very few problems, except CGI::Cookies got overwritten
<16> now I'm going through to upgrade my installed CPAN modules
<0> LeoNerd: sorry, had no time to breathe.
<17> merlyn: how do you upgrade all the modules at once?
<16> I use cpan-r
<13> Sure... No rush.. I was just wondering what the process is...
<0> LeoNerd: I'll look at it when I have some spare cycles.
<14> centosian - very manually and painfully, as if he did not have a programming language available.
<16> merlyn-yahoo: babysitting
<18> Found Babysitting an interactive CPAN update (Sep 05) at http://www.stonehenge.com/merlyn/LinuxMag/col74.html;
<16> that's it
<13> As in, I didn't know if I was supposed to do more stuff yet
<0> LeoNerd: BTW, someone contacted me about some Exceptions use-cases in Perl.
<13> Ooh?
<0> LeoNerd: I can CC you on my reply.
<19> HELLO!
<19> rindolf :)
<19> merlyn :)



<13> Sure; go ahead
<16> Daveman :)
<19> gumbybrain: be Chris62vw
<19> err
<19> I think I broke it...
<17> cpan -r gives me 'Undefined subroutine &main::_recompile called at /usr/bin/cpan line 256.'
<11> GumbyBRAIN: be Daveman
<3> Perlbot chris62vw.
<20> my master
<3> daveman and the second it gets an unencrypted message.
<19> gumbybrain: be lagged
<19> :P
<0> Daveman: hi.
<19> Rindolf: Hello!
<0> Daveman: sup?
<21> Hello everyone. I'm trying to write a plug-in for Gimp. I've read some stuff on it, but I don't know exactly how to use Script-Fu functions with Perl.
<13> rindolf: Yeah; feel free to CC me in on that... I had a thought on MIed exceptions.. I think they might be quite useful actually.. needs more thought though on how to do ->text with that..
<13> Anyway, I'm off for barbecue.., see all later.
<0> LeoNerd: bye.
<22> is there some sort of tool i can use to see how many remote http requests my server can handle
<22> its actually a test of bandwith, not of performance
<16> "ab" comes with apache
<16> "apache benchmark"
<16> that's about the best "slam your server" tool I've seen
<19> perlbot bbq
<20> barbeque
<19> hmm
<19> perlbot bbqb
<19> perlbot byob
<19> perlbot you ****
<20> YOUR MOMMA
<23> im getting this error when i try to 'install Bundle::CPAN'
<23> http://pastebin.ca/79019
<18> The paste 79019 has been moved to http://erxz.com/pb/1859
<23> any ideas?
<16> yes - I believe you should have pasted in the proper place. :)
<23> merlyn: excuse me?
<16> ... <18> The paste 79019 has been moved to http://erxz.com/pb/1859
<16> you said "any" ideas
<16> that's an idea
<16> but for your main problem, try exiting and entering CPAN again
<16> and install just those two modules
<16> not the bundle
<23> merlyn: o right...next time
<16> one at a time
<23> merlyn: k ill try that
<16> CPAN.pm "remembers" failed installs per session
<16> you have to tell it "no, don't remember" by killing it
<16> did that help, jpatota?
<23> merlyn: yes closing and opening cpan helped that particular error
<23> but ive got some more im battling though
<23> its a new system so i dont have stuff like gcc installed
<0> merlyn: unset MAKELEVEL is the key to your success.
<23> which is slowing down the process
<24> hi all!
<24> can someone tell me how I can build a regexp that matches up until, but not including a certain string?
<0> TMM: (.*?)\Q$mystring\E ?
<24> \Q and \E then?
<7> /(.*)(?=certain)/
<0> eval: my $string = "Hello there TMM"; my $q = "TMM"; /(.*?)\Q$q\E/; print $1;
<18> rindolf: 1
<0> eval: my $string = "Hello there TMM"; my $q = "TMM"; /(.*?)\Q$q\E/; $1;
<18> rindolf:
<0> Hmm...
<0> eval: my $string = "Hello there TMM"; my $q = "TMM"; $string =~ /^(.*?)\Q$q\E/; $1;
<18> rindolf: Hello there
<0> eval: my $string = "Hello there TMM"; my $q = "TMM"; $string =~ /^(.*?)\Q$q\E/; qq{"$1"};
<18> rindolf: "Hello there "
<25> *? # match one of zero or more anything?
<24> jpeg, no one or more
<25> just use (.*)


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

wedding.haal
archlinux nvidia-glx
#fedora
INSTALL4J_JAVA_HOME debian
enable-sound-mixing
Running in modulated clock
gnome use flag xfce firefox gentoo
#linux
Actions Semiconductor MPMan MPki
wildpass logins



Home  |  disclaimer  |  contact  |  submit quotes