| ofer | thanks cfedde, f00li5h |
| f00li5h | tybalt89: *grunt* |
| ArmOrAttAk | i didn't mean to sound rude |
| yubimusubi | tybalt89, well, my $x = $y++; is not the same as $y++; my $x = $y; |
| ArmOrAttAk | i just don't know the syntax off the top of my head |
| yubimusubi | (that's a correct analogy, right?) |
| ArmOrAttAk | i would think stat the files, subtract or go get a module. |
| tybalt89 | yubimusubi: Why are you changing the subject? |
| yubimusubi | oh, my bad I was scrolled way up >.> |
| f00li5h | yubimusubi: your analogy seems good, in that it's vaguely related to scoping, and not really worth considering (much in the same way mine was) |
| yubimusubi | ah, right |
| jim | QtPlatypus: if you're running a db app, using the db to do date/time calcs is perfectly valid (seeing as how the database might store dates as part of the app) it's not cheating at all |
| dondelelcaro | (assuming the db handles dates correctly) |
| jim | I would assume pg does, but he says he would use mysql |
| QtPlatypus | Mysql does for the most part. |
| jim | I'm not a mysql user myself, so I don't know if there are problems and what they would be |
| QtPlatypus | Mostly that it defaults invalid dates into 0000-00-00 |
| f00li5h | jim: the main problem is that date mainipulation in mysql tends to obfuscate your queries |
| sili | that's what abstraction is for! |
| jim | but you see what I'm getting at, if you're storing dates as part of your app, it makes a lot of sense to let the db do calcs on at least those dates what sili said |
| Tincho | hi there. I'm having a problem which I don't understand with mail::box. I cannot find a way to extract addresses from a header with the correct decoding. Anybody can give me a clue? |
| sili | eh? |
| f00li5h | Tincho: can you ask Mail::Box what character set the message is in? sili: \0/ |
| jim | sili: what you said! |
| sili | sounds like you'd need to ask for the encoding header, whatever it is, and decode other data accordingly |
| Tincho | f00li5h: the problem is not the message body, but the encondings inside headers sili: doc says it should be decoded automatically when using study() |
| action | sili assumes that's not perl's study() |
| sili | assumes that's not perl's study() |
| f00li5h | Tincho: show us 'ya code |
| Tincho | sili: no, M::B one f00li5h: ok, just a sec |
| pasteling | "Tincho" at 66.60.17.158 pasted "mail::box problem with encodings" (18 lines, 398B) at http://sial.org/pbot/24337 |
| Tincho | f00li5h: there I get things like this: "Mail::Message::Field::Address =?iso-8859-1?Q?Juan(....)?=" |
| f00li5h | Tincho: i see |
| Tincho | and doc isn't helping here :( |