| simcop2387 | GumbyBRAIN: using namespace std; |
| GumbyBRAIN | Definately seems to end at class::std on the lhs where you can put it in perl is shit and the current namespace? |
| simcop2387 | rindolf: pretty good, right now though i'm in a little bit of a bind, some jerk has clogged the toilets on the first floor (we suspect it was someone on the second) and i have to go to the bathroom |
| hobbs | GumbyBRAIN: IF THIS IS SPARTA THEN I AM SPARTACUS. |
| GumbyBRAIN | This is sparta. |
| hobbs | Sweet. Syllogism power ftw. |
| simcop2387 | spartacus: hey, haven't seen you in a while |
| rindolf | simcop2387: OK. |
| simcop2387 | rindolf: hey you asked! |
| action | dhar kicks GumbyBRAIN into the pit |
| dhar | kicks GumbyBRAIN into the pit |
| GumbyBRAIN | And the file into /tmp. |
| rindolf | simcop2387: sure. |
| forsaken | when a user logs into my web server with Basic Apache authetication, how do I get the username of the user? |
| dkr | it's likely in your access log |
| rindolf | forsaken: are you using CGI.pm? |
| dhar | i think its in $ENV |
| rindolf | forsaken: or mod_perl? |
| simcop2387 | GumbyBRAIN: and lo he said unto me, Do not what you do unto others, but do unto them what they would have done unto themselves |
| forsaken | rindolf, CGI.pm |
| GumbyBRAIN | What he said. |
| simcop2387 | i don't think i've ever tried to get that info before |
| rindolf | forsaken: $cgi->remote_user() simcop2387: I may have said that. forsaken: a simple search on CGI.pm for "auth" would have given you that. |
| forsaken | rindolf, thanks, sorry rindolf, i was googling stuff |
| dkr | GumbyBRAIN: the google goggles are bright |
| GumbyBRAIN | Pythons are of the google.com ips. |
| dkr | pythons?! call St Patrick |
| simcop2387 | GumbyBRAIN: its weasel stomping day! |
| GumbyBRAIN | Oh,i was trying to learn perl from the moment you wanted it... Hopefully fixes the shit they have half a day off for a day, and i'm trying to get off their ties when negotiating bills behind closed doors. Klobuchar needled him about it. |
| Leibsle | rindolf, now i am here :) |
| rindolf | Leibsle: /join #lispcafe |
| qwertz | hi, I have a little question. I have a variable with string "832.80078125" .. I would like to get 833 in that case, what is the best way to do it ? |
| mauke | s/\..*//s; |
| nanonyme | lol mauke: doesn't work ;) |
| mauke | why not? |
| nanonyme | that's supposed to round up |
| mauke | oops |