Gee, and I thought it was only bad karma on my part that kept module after module from compiling correctly. I'm a Perl fan, no question - yet every time I have to install a module to get something done, I'm crossing my fingers and holding my breath.
Curt On Tue, Jun 7, 2011 at 10:39 AM, Richard Thomas <[email protected]>wrote: > Funnily enough, it was a date module: DateTime::Format::Mail . I just > wanted to be able to parse the Date: header in emails for sorting into > different folders. After much messing about, I gave up when it wanted > libgmp.so.10 . I do have libgmp but it's the wrong version apparently. So I > just regexed for the common (correct) format and a few lines of logic took > care of it with a manual cleanup on what was left (mostly spam as it turns > out). > > On debian, I mostly try and use the package manager to install Perl modules > but this is Slackware so I'm on my own pretty much. > > On 6/7/2011 7:16 AM, Andrew Farnsworth wrote: > > > > This is directly related to the fact that your script CAN be so short > because it is using so many precoded libraries. If you didn't have these > libraries to depend on, your script wouldn't be short. One solution I have > often found is to review the Perl Module in question and determine if I > should be using it or if I should be using something else or just coding it > myself. If you look at the Date::Manip perl module documentation, you will > see the following: > > SHOULD I USE DATE::MANIP > > If you look in CPAN, you'll find that there are a number of Date and Time > packages. Is Date::Manip the one you should be using? In my opinion, the > answer is no most of the time. This sounds odd coming from the author of > the software, but read on. > > Date::Manip is written entirely in perl. It's the most powerful of the > date modules. It's also the biggest and slowest. > > --- <snip> --- > > See the POD file yourself if you want to read the rest. > > Basically, even the author of the module recommends using a different > module most of the time. > > Andy > -- > 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 > > > > -- > *Richard Thomas Consulting* > 301 Murrel St > Dickson, TN 37055 > http://www.rtcons.com > > -- > 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 > -- 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
