| Solifugus | ?? I mean, I really just want to convert day, month, year to date in seconds so I can use localtime to get day of week (1-7) out of it. |
| Paladin | Solifugus: Time::Local, or look up the algorithm to get day of week from date.. |
| Annaz | does TT have build in method to get total number of elements in an array ? |
| Solifugus | working with dates in perl is extremely difficult. |
| hobbs | Solifugus: er, no? :) |
| Annaz | .max how clever :) |
| Paladin | Solifugus: not really.. there are many modules that work with dates.. |
| Solifugus | Paladin: sure... but one would think there'd only need to be one, simple one.. My ultimate objective is to get week of month.. I thought perhaps looping throught fromt he 1st to current date of month, and counting how many times day or week 7 passes, I could find out. |
| hobbs | Solifugus: no, because one, simple one is too simple to do everything everyone wants Solifugus: and one, complicated one is way too big for most people to want to ever use Solifugus: so instead you get 10 ;) |
| merlyn | array.size not .max .max is like $#array |
| Solifugus | hobbs: simple only means inflexible when little to no forthought is put into how it works. |
| hobbs | Solifugus: or when you're encapsulating a VERY COMPLICATED problem like dealing with dates and times. Try relieving a little of your ignorance. |
| merlyn | & enroute burbank to BUR to PDX to a hospital (what is it?) |
| Solifugus | hobbs: it's like Linus's arguments against gnome.. simplification doesn't need to mean dumbing-down or disallowing capabilities. |
| hobbs | except GNOME is as dumbed-down a piece of shit as there ever was and they explicitly go around removing capabilities :) |
| javaman | pretty sure Solifugus said against gnome |
| hobbs | Solifugus: and once again, no. Look at what DateTime does and tell me any of it is unnecessary. And then tell me you don't want something simpler most of the time. :) |
| Solifugus | javaman and hobbs: I really think the job of programmers is to reduce complexity, not eliminate it. |
| taeli | hi, does anyone know of a module which implements a multi-threaded map? |
| hobbs | Solifugus: and I really think you should stop talking out your ass :) |
| Solifugus | hobbs: why is it so hard to get week of month (not month divided by 7)?? Why so difficult to simply set a date variable given day, month, year? |
| hobbs | Solifugus: it's not hard. Solifugus: it is, in fact, incredibly easy. |
| bennymack | Solifugus: you're trying to get the week number? E.g. this week would be 2 you start at zero? |
| Khisanth | "why didn't the inventor of the calendar think of the future programmers?" |
| taeli | ie - out= {complex_function} @in; - where the the order in which elements are processed isn't important |
| hobbs | Solifugus: so would you please stop the incoherent babble? :) |
| Solifugus | hobbs and bennymack: Yes.. I've spent many hours trying to get week of month.. over the last seven days or so. hobbs: appearantly.. my ass is smarter than you. |
| hobbs | Solifugus: and how do you define "week of month" ? |
| bennymack | Solifugus: wtf? something like this? eval: int( ( localtime )[ 3 ] / 7 ); |