| Jmax- | ed(1) |
| Chris62vw | real coders use echo |
| Caelum | oh wow, GNU emacs does reall full syntax highlighting now, looks nice. xemacs just highlighted my and @INC and die.... |
| avar | uh, when didn't gnu emacs do syntax highlight? |
| QtPlatypus | Caelum: It does get confused every so often esp with regular expressions. |
| Randal | @INC and die! |
| IceShaman | I swear localtime is designed to make it hard work, oh oh let's start the week off on sunday, count from 0, make you have to add 1900 to the year, and just incase you're still standing return single digits if < 10 :/ |
| Randal | sounds like a manufacturing outfit |
| Terminus | real coders apply voltage to the base |
| Jmax- | IceShaman: DateTime |
| IceShaman | never |
| ides | IceShaman: yeah that's why people use stuff like DateTime |
| Randal | $year += 1900; $month += 1; how hard is that? if you do the < 10 thing, you haven't learned about sprintf yet or strftime |
| jagerman | What's wrong with starting the week on Sunday? |
| Caelum | avar: like, 10 years ago it didn't support font-lock-mode in console |
| IceShaman | $month++ ftw, Randal, it just makes for ugly code when you have to do it three times and make a load of changes |
| Randal | you do it once, wrap it in a subroutine |
| avar | Caelum: ugh |
| Randal | or you use DateTime like most modern people |
| avar | haha dog is a cat(1) replacement with a built-in webserver and whatnot |
| ides | Randal: "modern people" makes it sound like localtime() is a cave drawing heh |
| Randal | it sorta is now |
| Jmax- | avar: lol what |
| IceShaman | I suppose, something returns nasty output when nobody really _wants_ it like that...so make a wrapper! |
| Randal | it's a low-level routine |
| Jmax- | GumbyBRAIN: dong(1) |
| GumbyBRAIN | <yoni> jbp shaves his nipples. |
| Randal | IceShaman - stop dissing its output it's perfectly fine |
| plee | i'm trying to install DBD::mysql and it fails with make test cant connect to mysql |
| Randal | you want minutes past the hour: (localtime)[1] |
| avar | Jmax-: yeah |
| Randal | it's a nice interface |
| Jmax- | avar: no joke? |
| avar | Jmax-: yeah, that's really nice *Randal |
| ides | plee: MySQL probably isn't running on your system, you can skip the tests if you like |