@# 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



Comments:

<0> Will this work?
<1> Daveman: If your a kinesthetic learner, bend over.
<0> m for match, g for global.
<2> G!
<3> technorati
<3> oops -- wrong window.
<4> Stormbreaker: you're not saving the results
<0> I want in case I got a match print it out
<0> dakkar: please correct me.
<4> stockholm: you could save all the addresses into an array
<4> argh
<4> Stormbreaker , not stockholm
<4> like:
<4> push @addresses, ($_ =~ /.../g)
<2> heh



<5> I now have 34 xp on perlmonks, and I created an account 2 days ago
<5> <3 my japhs
<0> dakkar: http://rafb.net/paste/results/NyHweZ12.html
<0> Check it out, I get a freaky result but the solution is near.
<1> GumbyBRAIN: bite Daveman
<4> Stormbreaker: don't use printf, it's not what you need
<6> Daveman high-fives daveman.
<7> arr, my server is down because mysql is disabled and I dont know how to enable it
<0> Still doesn't work dakkar...
<4> since you're putting *all* of the results into an array, print at the end, not inside the loop
<5> GumbyBRAIN: eat Daveman
<6> Daveman would smite bethman.
<5> true
<0> dakkar: Thanks a lot!
<5> Tomatoe, /etc/init.d/mysql start ?
<2> woot!
<2> hhhahahahha methman
<2> bethman
<2> Gumbybrain: eval n0x > EvanCarroll
<6> according to whom am i doing wrong?
<2> o_O
<7> ok, I just ran that, I will see what happens
<2> :(
<8> okay, since you put it that way...
<2> genio, at least I can say I didn't lose it from a chainsaw ;)
<8> :)
<8> haha, that's true
<9> someone bring buubot back!
<7> oh good, now everything works except .cgi script on my server
<9> buu, buu !
<10> (@r,@t) = @s; is it ok to do this to concatenate 2 lists ?
<2> Tomatoe, set permissions and use ExecCGI ?
<5> hooray!
<10> oops
<10> I mean @s = (@r,@t)
<2> haha
<2> that almost looked naughty
<8> Daveman: we've all been questioning his sanity for quite some time. :)
<9> why doesn't $a = "foo bar || pee, poo \n \t \n "; $a =~ s/[[:space:]]*$//gs; remove all trailing spaces and \n's and stuff?
<9> hmmm, it does
<10> Daveman thanks for your help
<9> maybe my string isn't quite like I think it is
<7> where can I find my perl log so I can see why my scripts are not running in a browser window, but they are running if called from putty?
<10> how can I concatenate 2 lists easily ?
<8> push @foo, @bar; #foo now also contains bar
<10> okay, push
<10> thanks
<11> Tomatoe: do you mean your apache error log? Your apache configuration will say where that is. Typically you can find your apache configuration someplace like /etc/apache/httpd.conf
<11> search in that file for "ErrorLog"
<7> ah, yes, that
<7> ok, I am getting "[notice] child pid 11633 exit signal Segmentation fault (11)" in the apache log when I run a perl script
<7> also im getting lots of "[notice] child pid 20451 exit signal File size limit exceeded (25)"
<12> could be the 2gb limit?
<1> any time you get a segmentation fault, it is a bug of the program.
<1> so file a bug report.
<7> oh, my website log was over 2 GB, that was the problem
<12> thought so



<1> It should die gracefully then returning an error code, non-zero. not seg fault
<7> thanks guys
<13> hi. what module/algorithm to use when i have to check if current_time is between 08:15 and 15:23 (hour:minute) ?
<4> DateTime::*something*
<4> or Date::Calc
<4> or convert everything to minutes and do a comparison
<1> seconds?
<13> dakkar: i'm thinking about doing the conversion and comparison. can't find a module to do it for me :(
<14> ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time); $total_minutes=($hour*60)+$min; if ($total_minutes>495 and $total_minutes<923) { DO STUFF }
<4> Date::Calc should do it
<13> dakkar: probably, but i can't seem to find appropriate submodule/method
<14> OH god I hate Gaim as a client for IRC
<4> oh well, at the end it's just a multiplication
<13> perlygatekeeper: i know i can do it that way :)
<13> dakkar: i know. i think i'll just skip the searching and write the method.
<14> perlbot Module Exists
<14> damnit perlbot
<14> perlbot brain
<15> http://www.chrisangell.com/cgi-bin/botkeywords.cgi
<16> can someone recommend a beginners perl tutorial.... I don't know how to comment =P
<3> http://learn.perl.org/library/beginning_perl/
<16> i actually wrote //my comment and now my script has errors =P
<16> tnx
<4> imwthstpd: "comment"? use the # character
<17> comment or document? maybe pod?
<16> cool, i'll read the tutorial anyway
<16> i'm sure it'd do me some good with my file upload script
<16> hehe
<14> perl uses '#' style comments
<14> not / nor /* .. */
<16> gotcha, thnx
<18> anyone intimately familiat with Win32::Job?
<18> familiar i think is the proper spelling
<9> of job?
<14> BETH!
<9> how can I specify an optional regexp part of more than one word? say /[0-9]{1,2} little lamb|big lamb/ ?
<14> depeez: Date::Range looked promising but it uses Date::Simple objects, don't think they have times
<9> i want to opt on "little lamb" and "big lamb" not on lamb|big
<9> parens are the only way?
<2> jdv :o
<3> yango: what about: /(?:little|big) lamb/
<9> eyre, I appreciate it, but that wasn't the question (my example ****ed)
<9> this is a better example: /(i like )?foo/
<9> that's the only/better way to write match foo or i like foo?
<2> what. the. ****.
<11> hi perly
<2> Hello bethman.
<9> how to iterate over an object members?
<2> grr
<19> yango: Add an iterator to your object.
<2> Why is "Pseudo-Hashes are deprecated" an error?
<20> Perl 5 gained the ability to treat arrays of a certain format as hashes. This feature is deprecated, and expected to be removed.
<2> Is this why it complains so much about the coersion of hashes into arrays and vice-versa or some such?
<2> It's sad that it's a core thing.
<21> yes.
<21> pseudohashes were a nice idea, but a bad idea.
<18> Daveman: fix this win32 bs for me!
<2> pseudo hashes are great (at least in other languages)
<2> in my experience
<2> but whatever
<2> the most ironic part is that, where it's erroring for this, I didn't think that's what I was doing ;)
<18> why is it everytime i have to use win32 my contempt for it grows?
<2> the line is: next if not defined $mod{$_->{id}};
<2> I don't see what's wrong with that then.
<9> depends on what is $mod and $_
<2> jdv, then let the question be asked and all shall fall silent to your foolery.
<2> yango, mod is a perfectly formed hash, and $_ is perfectly formed hashref :p
<2> I've definitely checked this
<18> why isn't perl on google's Google Code front page?
<18> hmm
<2> haha


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#gaim
ubuntu mono stereo channel sound
install pymqi
paper dinosourous
#debian
#math
ubuntu different user Gtk-WARNING **: cannot open display
gentoo equery samba cyrus-sasl
#lisp
#perl



Home  |  disclaimer  |  contact  |  submit quotes