yeah, that rpm -qa showed it, and the test I did like this and it worked
great:
#!/usr/bin/perl -w
use Mail::Sender;
$sender = new Mail::Sender
{smtp => 'my.mail.server', from => 'me@xxxxxxxxx'};
$sender->MailFile({to => 'me@xxxxxxxxx',
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...
-karl
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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos