| |
| |
| |
|
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
Comments:
<0> No fish. No fowl. <1> lies :( <1> what about sheep? <0> No brain. No pain. <0> GumbyBRAIN: baa ? <2> It'd be awesome to see if the decedent's will did not redefined "understand" as "realize ...". I distinguished those as two separate things. <0> okay ... <3> How does mod perl know where to find the perl binaries to embed into httpd? I ask because I want to build mod_perl with a manually compiled version of perl. <3> do I need to set LD_CONFIG_PATH? <3> **LD_LIBRARY_PATH <1> rutski89: it links with libperl .. <0> Hmmm. I'm trying to be lazy^wefficient and want to check for the existence of a module in Makefile.PL, set something if it exists that'll then 'be available' in my plethora of test-cases ? <1> so probably the first one you come across <3> Botje: yes, my system's libperl.so is in /usr/lib/libper.so.10.0, but this manually compiled perl that I have is prefixed into /home/rutski89/perl, and it's statically built, so no libperl.so exists. <0> the ExtUtils::MakeMaker docs are not being very helpful. <0> That must be huge!
<1> rutski89: well, you need a libperl.so to compile mod_perl <4> hoorah for torrents! <1> you PIRATE <3> Botje: are you sure? then how is mod perl built on systems with a -Uuseshrplib Perl? <5> guten morgen <1> err.. what? :/ <6> GumbyBRAIN: ninja pirates <2> Boobs will be a ninja after 15 years. <3> Botje: -Uuseshrplib prevents the creation of libperl.so and builds all of the libperl.so stuff directly into /usr/bin/perl <4> haha Botje++ <1> and what good does that do you? <4> I just lost my whole music collection. <4> /kick bluebeard <3> Botje: if you DO choose to use libperl.so then you can have other programs like mod_perl or PostgreSQL link against it too. This is convenient, but it can cause issues when you upgrade your Perl, and dynamically linked programs are a few ticks slower then statically linked ones <1> ehh <1> I believe it was statically linking that made problems when upgrading. <3> I don't really care either way, but the HTML::Mason docs say to use a non-DSO mod_perl, but I don't know how far to go with that <3> Botje: hmm, maybe i'm not sure <3> what i'm saying is <1> I doubt dynamically linking mod_perl will be much slower than statically <1> since it would only get loaded *ONCE* <3> maybe <1> and you'd reduce the memory footprint of apache binaries too. <3> again, I don't really care either way, but the HTML::Mason docs say that it will have memory leaks if used under a DSO mod_perl v1 <1> every child having its own copy of libperl linked in takes tits toll <1> brr <1> mod_perl 1? <1> so you're running apache 1 too? <3> yea <3> Mason still has a few kinks to work out on Apache2/mod_perl2 <1> like? <7> hey all im usinhg IO::Socket to make a tcp connection to a service on a remote machine all is working well, but I need it to do timed events. now as im reacding the socket into $_ it will only read any code when it is recieved. how should I get around this <3> and performance really isn't an issue for this app <3> Botje: it uses CGI modules in a few places instead of the Apache:: modules because of the different API. They intend to fix that, but I don't want to deal with the hack fixes until then. <3> The books I read about mod_perl and mason used mod_perl and apache1, so I guess it's also that i'm used to it. <8> anyone knows where could i find some Tk gurus? <1> rutski89: CGI.pm is mod_perl aware .. <1> prism: use nonblocking sockets. <3> Botje: ahh, ok; I built perl with -Uuseshrplib, so no libperl.so exists. However, there is a /home/rutski89/perl/lib/5.8.8/OpenBSD.i386-openbsd/CORE/libperl.a file, so mod_perl can probably use that <7> Botje, got a man page anywhere <1> ehh <1> maybe. <3> but how can I be sure that it links against /home/rutski89/perl/lib/5.8.8/OpenBSD.i386-openbsd/CORE/libperl.a and not /usr/lib/libperl.so.10.0 or even /usr/lib/libperl.a <3> ? <1> prism: perldoc IO::Socket::INET lists quite a few instances of blocking <9> IO::Socket::INET. To access this perldoc please type, at a command line, 'perldoc IO::Socket::INET'. You may also find it at http://perldoc.perl.org/IO/Socket/INET.html <7> Botje, ty <3> Botje: this page shows some of the stuff that i just don't feel like dealing with: http://www.masonhq.com/?ApacheModPerl2 <1> ehm. <1> that page bitches about mod_perl 2.0.0-rc5 <1> we're up to 2.0.2, atm. <3> "Apache2::Request is part of the libapreq2 package. It is still in the development stage" <1> lies. <3> really? <3> even the README file in the latest mod_perl-2 distro says "** Status ** mod_perl-2 is still considered beta" <1> it's rock solid for me, anyways <3> it probably is, but the Mason docs clearly point out issues, and I don't want to deal with them. I'm sure other modules are fine. <3> But that's not the point. The point is that I need to be sure about which libperl.{so.a} mod_perl is linking against. <1> i'm sure man ld or man ld.so knows <3> ldd seems to only work on executable programs <0> indeed.
<3> and plush I couldn't use ldd to see which libperl.a my httpd binary is linked with because it's statically linked, and ldd only shows info about dynamic linkage <3> s/plush/plus <1> I said ld, not ldd <3> ahh, ok; never used that one before <3> i'll read up, 1 sec <1> err, i doubt taht <3> huh? <1> it's the linker :P <3> oh, yea :( <3> so what examination tool should I use then? <1> man ld. <1> i'm sure it has some flags you can set to add include paths <1> you could p*** that along as LDFLAGS to the configure <3> ahh, ok; cool <10> mh.. i need to place a very basic counter on a website written in perl, because i can't access the apache logs. any recommendations? maybe there is already something in CPAN which i didnt find... <3> Botje: oh, hey. Here's an idea. My system's default perl and the perl I built manually are of different versions. I'll fire up apache and write a perl handler to simply print out the version of perl! that will show me which libperl.so or libperl.a httpd was statically linked with <3> hmm.. how do I print out perl's version in a perl program? <11> $] <3> seems simple enough :) ty <12> noganex: http://www.perl.com/doc/FAQs/cgi/perl-cgi-faq.html Q4.5: How do I write an access counter script? <10> frostschutz: well. this one is too basic. ;) <10> i really thought of something that saves ip/ua. i don't want the counter to update each time someone hits reload ;) <1> but that's what counters do .. <13> how can i get title of some web page? <1> first, you download the html, then you parse out the title <1> which part are you having troubles with? :) <13> Botje, title <13> Botje, parse out the tite <13> title* <1> my $title =HTML::TreeBuilder->new_from_content($html)->find('title')->as_text <13> Botje, wow thanks <13> Botje, thank you so much <1> read about HTML::TB. it's wonderful <13> Botje, thanks alot <1> np <14> What is the most efficient way to see if a array contains a given value? <1> they're all O(n), why bother? <14> I want to see if its already in the array before using push to insert it. <1> yes, but why bother about the "most efficient" <15> Botje, maybe he means "wrist efficient" :-P <14> true well is a for loop for example slower? <1> than what? <14> chemaja: that too.. <14> foreach or I don't know I am just trying to write code that runs fast, I thought there must be some way but if not nm <1> there's lots of ways. <1> but if you're caring about the "most efficient", why are you using arrays anyway? <14> to store a list of strings <1> hashes are O(1) in both lookup, insertion, and deletion <1> whereas arrays are O(n),O(1),O(n) <1> of course you lose inherent ordering with hashes but you didn't say that was important <14> ah so hashes are better, I thought that could be but I thought I was just been lazy. <14> its not <14> no order is required <14> :) <1> then hashes are, effectively, the "most efficient" data structure, for this task <14> ta <16> hi guyz.. how to pipe the verbose of PING into a string container? <1> "pipe" "verbose of PING" "string container" ? <1> explain yourself. <17> after uninstalling perl. and reinstalling so I could have setuid perl capability I'm getting an error upon enterning the cpam prompt with the command "perl -MCPAN -e shell" as root. My error message is "Use of uninitialized value in bitwise and (&) at (eval 263) line 1, <STDIN> line1." But I don't understand what to do about it. Ive googled for it with no results. <1> rance: have you tried reinstalling Bundle::CPAN ? <17> If I tell it install Bundle::CPAN it tells me that its already up to day <17> date <17> unless there is a actual "REINSTALL" command that would work <16> Botje: example if you use PING theres an output.. i called that verbose of ping... i want to pipeout that verbose to a string variable of perl.. so that i can strip only i want.. <1> rance: install it manually, I mean. <1> axscode: wtf is "a verbose" ? <1> do you perhaps mean "output" ? <1> and would you want to ***ign that "output" to a perl string, by any chance? <14> he means where it lists each ping request instead of final results most likely <14> there is a POE ping package is there not? <18> POE::Component::Ni? <17> Botje: you mean install Bundle:CPAN without the cpan prompt? <1> yes .
Return to
#perl or Go to some related
logs:
#gentoo amarok upgradable pull-options wikipedia /bin/sh: cmp: command not found Try setting CONFIG_KALLSYMS_EXTRA_PASS amarok procesor usage gmailfs tutorial #math #gentoo #gentoo emake failed with profiledbootstrap
|
|