@# 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 34 35 36 37 38 39 40



Comments:

<0> (curl being curllib + the perl-curl glue which is xs and so needs compiling)
<0> it's not .. but it's just perl, so it's easy
<0> I can install it locally if it's not already installed during a setup procedure
<1> http://search.cpan.org/~flora/Net_SSLeay.pm-1.30/SSLeay.pm#Using_client_certificates
<2> sili's url is at http://xrl.us/ksgc
<0> Whoah .. did you know that existed or did you go looking for it for me??
<1> i had a feeling.
<0> heh .. thanks .. I'll check it out!
<0> OK, this looks like it might be some fun :)
<0> Thanks sili
<1> yup
<3> Anyone here familiar with Module::Build?
<1> isn't that the new hotness?
<0> bugger .. still going to need to get them to install openssl :(
<0> braden: used it, but not to the point of familiarity sorry
<3> sili: Does that mean no one will notice my new speedo?



<3> Woosta: Well, I suspect the problem I'm encountering is a general Perl issue; I'm a novice.
<0> ask away then :)
<1> braden: only if you wear sungl***es
<3> Basically, I'm trying to precompile a Parse::RecDescent grammar as part of the build...
<4> odd question:
<1> odd response:
<5> even question:
<4> if a router re-writes the source_ip/port of a tcp connection is that called SNAT?
<3> So in Build.PL, I "use Parse::RecDescent;" and call the Precompile subroutine...
<1> kilohurt: doesn't sound like it
<5> kilohurt: yes
<3> Build.PL builds okay, but when I go to run Build, I get: Can't locate object method "Precompile" via package "Parse::RecDescent" (perhaps you forgot to load "Parse::RecDescent"?) at /home/braden/src/endoframe/literally/trunk/_build/lib/MyModuleBuilder.pm line 13, <FILE> line 1.
<3> So apparently I need to do something more than just the "use" statement.
<1> snat: http://www.urbandictionary.com/define.php?term=snat
<0> I don't know P:RD .. but is Precompile a cl*** method rather than an object method?
<3> Woosta: Based on my limited knowledge, yes.
<3> http://search.cpan.org/~dconway/Parse-RecDescent/lib/Parse/RecDescent.pod#Precompiling_parsers
<2> braden's url is at http://xrl.us/ksgf
<0> yup.. already there
<0> it is a cl*** method ..
<0> So .. Build.PL loads P:RD, but it's MyModuleBuilder that attempts to use it?
<3> Woosta: That appears to be the case.
<3> Woosta: MyModuleBuilder is part of Module::Build's machinery.
<6> Have any of you made a Perl package that had its custom module tree, a Makefile.PL & >= 1 XS modules?
<6> I'd be interested in seeing one;)
<7> is there a way to "compile" perl code? so that it can be run without perl?
<5> yes and no
<0> braden: I can't really help you any further sorry
<0> if noone else here can, try perlmonks
<3> Woosta: Okay; thanks for trying.
<7> Botje: in which way yes and in which way no?
<6> It would be cool if there existed a working (or >95%) language to language translator...
<1> everything translates to lisp
<1> real easy
<0> Gah! Net::SSLeay waits for C-c if it can't find openssl installed rather than just dying .. I'm going to have to write something to check if it's installed first :(
<6> prove it
<7> ehm so ist it possible or not to compile perl?
<6> (although I find it plausable)
<0> mc_: check the faq .. it's in there somewhere
<8> avar: it's quite plausible
<8> avar: not usu done unless needed though
<1> Woosta: eval "require Net::SSLeay"
<8> avar: many languages compile to C ^_^
<9> avar - there are several language to language translators AFAIK
<6> zgh: yeah
<1> avar: with much headache and goat killin
<6> C--?
<8> there's going to be lots of perl6 backends...
<9> sed2perl, awk2perl
<8> already are
<6> find2perl ;)
<9> yes, c--
<9> well, you might argue that find is a language but I don't think it could be considered turing complete
<9> err, sed might not fall into that category either but awk would
<0> sili: nah, I need to check if openssl is installed, not SSLeay .. that bit's easy .. if it's not installed then I need to check for openssl, and install it, then install Net::SSLeay .. which I'll be able to work out how to do from N:S's makefile :)
<5> print "install openssl and Net::SSLeay you ****wit";
<8> oooh C-- looks cool
<1> sounds complicated
<5> anyone not capable of installing openssl and N::S shouldn't be using your code anyway
<10> HELLO BOTJE



<5> HELLO YAAKOV
<1> Woosta: could you just look for a openssl(1)?
<5> DID YOU JUST MAKE MY SCREEN VIBRATE?
<1> Botje: that was something else..
<10> No... no... of course not.
<0> sili: yup .. the makefile currently looks in a list of known places for it .. which isn't ideal, but might be the only way to do it :(
<1> could ask the user
<1> if not foun
<0> Yeah .. I can see that going down a treat .. but it might be the only way to go ..
<1> ok time for work
<1> i'm missing my deadline
<0> (this is one of the reasons that php is so popular for such a stupid language .. installing stuff is heaps easy :))
<11> oh wow
<5> Limbic_Region: confuse people
<1> Limbic_Region: blasphemy!
<10> Woosta: check out how Webmin handles it. Thre is an automated installation of Net::SSLeay in the Webmin configuration page.
<9> sili - I am quoting larry
<5> Woosta: yes, because EVERY SINGLE ****ING THING IS IN THE CORE
<1> cool
<0> Botje: exactly :(
<11> sort doesn't copy its variables?
<9> Botje - besides that - something useful actually
<9> it is in TFM fwiw
<12> it's time for the minute of hate against PHP
<0> Yaakov .. I'll take a look ..
<9> perl6 will probably fix the deficiency though since you will be able to bind to streams
<6> Woosta: No, installing stuff is not easy
<9> ok - so no one knows?
<6> It'll break, since the stupid language only has one namespace
<9> try setting $/ to a regex
<9> avar - PHP?
<9> I though version 5 was supposed to fix the namespace issue
<1> Limbic_Region: that's version 6
<5> keep it that way!
<5> eval: $/= qr/foobar/
<13> Botje: Return: $VAR1 = qr/(?-xism:foobar)/;
<1> or at least not 5.1 or whatever is current
<5> Limbic_Region: works perfectly! :p
<9> Botje - ok, try and actually use it as a regex
<11> eval: my @a = qw ( 1 2 3 4 ); my @b = sort { $a = ($a == 3 ? 333 : $a); $a < $b } @a; print "@a\n";
<13> brianski_werk: 1 2 333 4 Return: 1
<5> brianski_werk: erm? you probably want List::Util::Reduce or somesuch
<0> yeah .. in PHP I have cl*** SomeCl***{} and I have cl*** SomeCl***_Child extends SomeCl***{} .. wtf? Underscore is the convention used to indicate (to the programmer) inheritance .. bloody stupid to me :)
<9> "Remember: the value of $/ is a string, not a regex. awk has to be better for something. :-)"
<11> Botje - that was just a proof of concept
<9> That's from perldoc perlvar
<14> The perldoc for perlvar - Perl predefined variables is at http://perldoc.perl.org/perlvar.html
<9> I ***ume it is a larry quote but maybe not
<11> Botje - i'm actually doing a pseudo schwartzian transform based on this fact
<1> Limbic_Region: so what about awk?
<5> Limbic_Region: I'm sure perl6 will support it!
<9> Botje - I already said that
<9> you will be able to bind to streams in p6
<5> okay then :(
<9> which means there is no reason that it shouldn't work
<11> foreach my $f (sort { ($a, $b) = map { if(!ref) { some_complicated_****; { a => "A"... } } else { $_ }; $a->{val} < $b->{val} } }) { ... }
<9> sili - awk allows regex input delimiters
<5> brianski_werk: wtf
<5> what are you trying to accomplish?
<9> you CAN do it in perl but you have to roll your own
<9> it isn't easy but is possible
<11> Botje - it's memoization of sorts
<11> instead of doing a bunch of stuff to $a and $b each time the comparison is called
<11> i just do it once for each variable in the array
<5> brianski_werk: it looks hideously complicated. why not just do an ST and be done with it?
<9> brianski_werk - that's not a twist on the ST
<9> that's called the Orcish Maneuver
<11> Limbic_Region - then what is it?
<11> Botje - because i discovered it by accident, and i like it :)
<5> ST = map sort map
<11> Limbic_Region - ahh so it is


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

perldoc chart.pm
#php
+power +brick +C1000 +pelican
tenthousandimages
gentoo azureus unmask
ubuntu firefox check for updates grayed
windows +host file doesnt work
unstable mouse problem xorg 2.6.17 debian
unshift, pearl
chatserver.py



Home  |  disclaimer  |  contact  |  submit quotes