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



Comments:

<0> LeoNerd: Perl Monger rindolf.
<1> Yaakov: :-)
<1> Perl Module too.
<1> Private Messenger.
<1> Practically Maniacal.
<2> Presumably Mad
<0> Porpoise Milk
<3> professional m***euse.
<0> Pickle Mold
<1> Prime Minister.
<4> merlyn, I want to print out the pattern. please help... >>...
<1> http://www.google.com/search?q=pm
<0> Pyromaniacal Middleman
<0> Purple Missle
<3> pretty magical
<0> Partly Militant



<0> Pimply Musician
<0> Party Map
<1> Perfectly Monstrous
<0> Plastic Moose
<1> Yaakov: Plastic Mse!
<0> Plastic Mse
<5> My sister was bitten by a moose once
<2> did she bite it back?
<1> LeoNerd: heh.
<6> LeoNerd: what flavour?
<0> LeoNerd: Putting on a ball cap with antlers doesn't make you a moose.
<1> LeoNerd: so can you PM me or talk to me on MSN?
<0> LeoNerd: Prime Minister rindolf.
<4> $mpattern = /PHPSESSID=[A-Za-z0-9]+"/;
<4> print($mpattern);
<4> Why doesnt it work? :(
<6> /win 37
<0> Stormbreaker: Are you screen scraping a gay dating site?
<4> lol...
<0> blondie: You lose, 38.
<2> Stormbreaker, you were told to read documentation that will solve your problem.
<6> :|
<0> blondie: Thanks for playing!
<7> europeans http://www.flickr.com/photos/azrael74/174363504/
<3> Stormbreaker: what's that supposed to do?
<7> how lovely they are.
<4> Botje, shall load automatically all new hardcore pr0n pics
<8> hola
<1> Hi nachos
<1> LeoNerd: like I said I'd like to get some work done.
<5> Yup.. Well, I'll commit this warndir handler up, and you can take a look from svn sometime..
<9> how do I tell if a given string ends with "txt" ?
<5> if( $string =~ m/txt$/ )
<1> LeoNerd: OK.
<8> how's things rindolf ?
<4> <frame name="persoenliches" src="/main/login.php?PHPSESSID=ml3jvuTH9GwasVkVOZNhSKrVlsLL5VfZ" marginwidth="0" marginheight="0" scrolling="no" noresize="noresize" />
<3> perlbot html
<10> don't use regular expressions! See HTML::TokeParser, HTML::TokeParser::Simple, WWW::Mechanize, HTML::TreeBuilder, etc.
<4> How do i do filter out the PHPSESSIP and put it into another string?
<3> ($sess) = $str =~ /PHPSESSID=(\w+)";
<3> now. leave.
<5> rindolf: Committed revision 1185. <== contains my changes. :)
<0> Botje: You are mean.
<2> you helped him! now he can't help himself :(
<3> Stormbreaker: doesn't appear to (want| be able) to learn
<0> Botje: pity him!
<3> so I shall slap him with fish until he smells like seafood :)
<1> LeoNerd: OK.
<1> LeoNerd: I guess I'd like to subscribe to the web-cpan commits list, now that I'm not alone.
<9> LeoNerd, thanks.
<9> and to get the length of the string?
<1> s/list/mailing list/
<1> LeoNerd: thanks.
<1> nachos: I'm fine.
<1> nachos: LeoNerd has now started to enhance Error.pm, which I became the maintainer of after Arun Kumar U's demise.
<4> Botje, you did expect from me to read a 50 page tutorial about regex and such?
<3> Stormbreaker: ehm. yes?
<3> I (and lots of people here) dit it.
<3> so why not you?
<1> perlbot: re



<10> For regular expressions see perldoc perlretut perlrequick perlreref perlre http://xrl.us/hx93
<11> Type 'perldoc perlretut' in your shell or go to http://perldoc.perl.org/perlretut.html
<4> Cause I got not endless time.
<3> lies.
<2> oh that's right, you shouldn't have to learn how to do something in order to be able to do it!
<1> Stormbreaker: you might try http://xrl.us/hx93 - it may be shorter.
<2> funny how learn ends with earn...
<3> so how does that justify being a parasite?
<1> Stormbreaker, Botje: please be polite.
<1> Don't take life too seriously.
<5> rindolf: Is there any reason, by the way, why there's a lib/Error/Simple.pm, that doesn't actually do anything, and all of Error::Simple's code really lives in lib/Error.pm ?
<1> LeoNerd: yes.
<3> I don't, i'm playing nethack and watching american dad :)
<1> LeoNerd: see the POD.
<1> LeoNerd: it's so you can say use base "Error::Simple".
<5> Hmmm....
<5> Still not quite sure I see it - I mean, what breaks if the code goes in the Error/Simple.pm file instead?
<0> Botje: You are mean.
<1> LeoNerd: well, there's an Errror::Simple package in Error.pm
<3> only to people who don't like me :(
<3> BUT I STILL LIKE YOU
<1> LeoNerd: and I think Error.pm is using it.
<5> rindolf: Yes, I saw it... Since it ought to be visible from outside, surely that code should just live in Error/Simple.pm?
<5> Well, then Error could just 'require Error/Simple.pm'
<5> .. er.. 'require Error::Simple' even. :)
<1> LeoNerd: ***uming Error/Simple.pm does not need Error.
<1> LeoNerd: it's a circular dependency.
<5> And..? Those generally work... it's only Exporter that gets confused by those...
<5> Two perl modules can 'require' the other, and that works.
<0> My car has circular deoendencies.
<1> LeoNerd: I see. Well, I wasn't sure.
<1> LeoNerd: in any case, I tend to dislike Error::Simple.
<1> I'd like to create a better Error base cl***.
<5> OK.. er.. well, what's wrong with it?
<1> LeoNerd: first of all the - at the beginning.
<1> LeoNerd: they make accessing the keys much more trickier.
<1> LeoNerd: they are popular in Tcl and in Perl/Tk but in perl (and other langs) it is customary to have mykey => $myvalue,
<5> Oh, -text, -line and so on? Yeah... that does get annoying... I presumed there must have been a reason for such awkward workings...
<1> Because => can left-qote, etc.
<1> LeoNerd: maybe the original author saw them in Perl/Tk.
<5> Right...
<1> LeoNerd: sort of like cargo cult programming (if that's the right word for it.)
<1> right term even.
<1> Are you people annoyed by us discussing Error.pm constantly?
<5> I'd like my Error::System sometime, which captures $! automatically.
<1> LeoNerd: I also like the new to initialise everything using the _initialize(@_) function.
<5> Hrm... I'm not so convinced about that one... it's usual in the Perl way of doing things, to do that in ->new...
<1> LeoNerd: yes, but I recall that once integral and dngor discussed their robot here constantly and we banished them to #perlcafe.
<5> Well, this isn't constantly - this is a one-off, and it's public code that all can benefit from and contribute to.
<1> LeoNerd: yes, but I find _initialize(@_) to be more flexible and require less stuff.
<1> LeoNerd: you don't need to put a new inside a new and then bless it again.
<5> Er.. you don't need to rebless ever...
<5> If you write your original new right, things JustWork
<5> package basecl***; sub new { my $cl*** = shift;... bless $cl***, $self; }...
<1> LeoNerd: if I do sub Subcl***::new { my $cl*** = shift; my $obj = SubCl***->new(); ... }
<5> package subcl***; use base 'basecl***'; sub new { my $cl*** = shift; my $self = $cl***->SUPER::new() }
<5> Yeah; don't do that
<5> $cl***->SUPER::new() does the magic
<1> LeoNerd: $cl***->SUPER::new() ?
<5> It calls the supercl***'s constructor, yet p***es the right cl*** name in to the ->new(), so it gets blessed right
<12> hi, sorry for the dumb question but how can i include on a string a modified string out of a variable, something like sh's "${foo//_/ }". thanks
<1> LeoNerd: I still find that having sub new { my $cl*** = shift; my $self = {}; bless $self, $cl***; $self->_initialize(@_); return $self };
<1> is much less errorprone.
<1> Cleaner, etc.
<5> rindolf: Plus, it does the usual @ISA magic to find the right supercl*** constructor, if you inherit multiple times
<0> mnemoc: Could you explain what you are trying to do?
<5> Plus, if you change your base cl***, note the name of the base cl*** appears only once in my code - easier to change.
<1> LeoNerd: so does my version I think
<1> LeoNerd: if you do $self->SUPER::_initialize(@_);


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

popen2(xterm)
#physics
Trying to execute code outside RAM or ROM at
#web
#kde
#debian
configure kxdocker manually
#fedora
css w3school ul li
asound.state+gentoo



Home  |  disclaimer  |  contact  |  submit quotes