#perl - Wed 28 Mar 2007 between 22:15 and 22:46



Doddehttp://search.cpan.org/~gaas/libwww-perl-5.805/lib/LWP/UserAgent.pm#REQUEST_METHODS
shortenDodde's url is at http://xrl.us/vh7q
jagermanNo, that isn't the same thing.
Doddeah chunksize ok
Limbic_Region. o O ( Randal's autographing policies? )
jagermanDodde: Content-Range is how HTTP clients/servers perform download resuming
Doddeah ok, I am reading 14.16 now
but not sure how to translate it to perlcode...
jagermanJust set the appropriate header for the request
Doddecan "content-range-spec" be used in the perlcode, as $ua->get($url, ":content-range-spec" => 0-9) ?
f00li5hRandal: WILL YOU SIGN MY BRESTS?
Dodde: you'd need to read the docs for $ua
Doddeok
ofer0GumbyBRAIN, crododile sandwich is Randal's favorite snack.
GumbyBRAINmy favorite, of course, is used for a sandwich.
jagermanNo. You want, I believe: $ua->get($url, "Content-Range" => "bytes 0-9/*")
batguanohi
Doddeok I will test it, thanks...
batguanocurrently useing apache + perl interpreter + script--what is overhead for modperl?
jagermanbatguano: It'll use a bit more memory, but save quite a bit of CPU time.
batguanooic how much more mem? apache+perl for each process?
jagermanIt depends on your code.
Basically, you are adding a persistent perl interpreter to every apache process
batguanooh simple phone # table lookup -- perl script= 809 bytes
jagermanWell, keep in mind, it is persistent. Global variables aren't unset between requests.
batguanoyikes perl5.8.7 = 931k
jagermanThe binary size isn't particularly important. The size in memory will be much larger--but .9MB isn't that much.
batguanothink i'll keep memory and forget speed thanks jager
bye
Khisanth1MB? if only ....
it's more like 200-300 :(
jagermanBinary size is a particularly useless measure, since that part will be shared among all the processes.
But if he was scared by 931k...
Khisantha lot of it is not shared ... but that depends a bunch of stuff as well
simcop2387man i MUST be bored, i'm making an svg version of john titors "temporal insignia"
jagermanBored and a geek :)
simcop2387jagerman: once i finish it i'll make a fancy looking version of it that makes it actually look like something decent
peshaltowow, my $data = do { local $/; <$inputfile> }; leaves $data empty on OS X.
imMutepeshalto: $inputfile is a filehandle right?
peshaltoimMute: well, maybe that's my problem. it's a filename.

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 113 120 

IrcArchive