X-Git-Url: https://code.th-h.de/?p=scripts.git;a=blobdiff_plain;f=mmm%2Fmmm.pl;h=312f6a1aa5319a338c8c21df79a8204f238a2697;hp=2b20fb3aaddfa6e2c372970ed6000a9d0b36945a;hb=eb086b342f55c535f4d86d8b93695bba425872cd;hpb=1725477449fac0a046e14ca8c2bfbffef3d7905b diff --git a/mmm/mmm.pl b/mmm/mmm.pl index 2b20fb3..312f6a1 100644 --- a/mmm/mmm.pl +++ b/mmm/mmm.pl @@ -1,6 +1,6 @@ #! /usr/bin/perl -W # -# mmm Version 0.2 by Thomas Hochstein +# mmm Version 0.3 by Thomas Hochstein # # Create a MIME multipart/alternative part, containing # text/plain (in Markdowen) and text/html, from a @@ -11,7 +11,7 @@ # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $VERSION = "0.2"; +my $VERSION = "0.3"; use strict; use Getopt::Long qw(GetOptions); @@ -82,8 +82,8 @@ exit(0); sub GenBoundary { my $hex; - $hex .= sprintf("%x", rand 16) for 1..20; - return ( "----------" . $hex); + $hex .= sprintf("%x", rand 16) for 1..25; + return ( "--MMM" . $hex); } sub ShowVersion {