On Wed, Dec 5, 2012 at 3:38 PM, John R. Dennison <[email protected]> wrote: > On Wed, Dec 05, 2012 at 02:33:25PM -0600, Curt Lundgren wrote: >> Yeah, I'd still do it in Perl. Why? Because I do just about everything in >> Perl. I've worked with that type of file; it's more programming to make my >> approach work (probably not worth it.) Larry Wall might observe that >> there's always another way to do it. > > I just don't understand this mentality. Wasting time better spent > elsewhere on re-inventing a command that's been around since the dawn of > time serves what purpose other that self-education?
Sometimes, it's faster to write something than it is to research finding the program that does what you want. I've done this with APIs. There's a library function found on many platforms, which is called closefrom(3), but Asterisk now has an API call named ast_close_fds_above_n(), simply because it was faster to write than to research. -Tilghman -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
