]> git.donarmstrong.com Git - debbugs.git/commitdiff
allow getmailbody to be exported; remove getmailbody parameter declaration
authorDon Armstrong <don@donarmstrong.com>
Tue, 18 Sep 2007 07:29:35 +0000 (00:29 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 18 Sep 2007 07:29:35 +0000 (00:29 -0700)
Debbugs/MIME.pm

index f5d6acd14600fbbf5af5ad0713cc98c61e337415..59ffda489b47c282d5c23d850177e07f1501b434 100644 (file)
@@ -18,7 +18,7 @@ use vars qw($VERSION @EXPORT_OK);
 BEGIN {
     $VERSION = 1.00;
 
-    @EXPORT_OK = qw(parse decode_rfc1522 encode_rfc1522 convert_to_utf8 create_mime_message);
+    @EXPORT_OK = qw(parse decode_rfc1522 encode_rfc1522 convert_to_utf8 create_mime_message getmailbody);
 }
 
 use File::Path;
@@ -31,8 +31,7 @@ use Encode qw(decode encode encode_utf8 decode_utf8 is_utf8);
 # for encode_rfc1522
 use MIME::Words qw();
 
-sub getmailbody ($);
-sub getmailbody ($)
+sub getmailbody
 {
     my $entity = shift;
     my $type = $entity->effective_type;