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