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@my.domain'}; $sender->MailFile({to => 'me@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...
-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.