Change boundary generation in mmm.
Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
a7c6f72b6f
commit
eb086b342f
|
@ -1,6 +1,6 @@
|
||||||
#! /usr/bin/perl -W
|
#! /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
|
# Create a MIME multipart/alternative part, containing
|
||||||
# text/plain (in Markdowen) and text/html, from a
|
# 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
|
# It can be redistributed and/or modified under the same terms under
|
||||||
# which Perl itself is published.
|
# which Perl itself is published.
|
||||||
|
|
||||||
my $VERSION = "0.2";
|
my $VERSION = "0.3";
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use Getopt::Long qw(GetOptions);
|
use Getopt::Long qw(GetOptions);
|
||||||
|
@ -82,8 +82,8 @@ exit(0);
|
||||||
|
|
||||||
sub GenBoundary {
|
sub GenBoundary {
|
||||||
my $hex;
|
my $hex;
|
||||||
$hex .= sprintf("%x", rand 16) for 1..20;
|
$hex .= sprintf("%x", rand 16) for 1..25;
|
||||||
return ( "----------" . $hex);
|
return ( "--MMM" . $hex);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub ShowVersion {
|
sub ShowVersion {
|
||||||
|
|
Loading…
Reference in a new issue