[CentOS] installing perl module in centos/rpmforge vs. cpan methods

Mon Mar 19 19:52:51 UTC 2007
Karl R. Balsmeier <karl at klxsystems.net>

yeah, that rpm -qa showed it, and the test I did like this and it worked 

#!/usr/bin/perl -w
use Mail::Sender;
$sender = new Mail::Sender
{smtp => 'my.mail.server', from => 'me at my.domain'};
$sender->MailFile({to => 'me at my.domain',
subject => 'Here is the file',
msg => "I'm sending you the list you wanted.",
file => 'filename.txt'});

Thanks alot, I did this for my supervisor and just wanted to verify it 
before he used it...


Florin Andrei wrote:

> Florin Andrei wrote:
>> For more thorough tests, I guess you could write a simple Perl script 
>> and actually test the module's functionality. Can't really beat that 
>> for accuracy in testing.
> Do an "rpm -ql" on your package and see if there's a test.pl file in it.
> If there is one, do a "perl /....path..../test.pl" and see what 
> happens. It's pretty basic, but better than my test.