File: mhonarc

package info (click to toggle)
mhonarc 2.6.19-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 8,752 kB
  • ctags: 7,929
  • sloc: perl: 279,551; makefile: 35
file content (107 lines) | stat: -rwxr-xr-x 3,106 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/usr/bin/perl
##---------------------------------------------------------------------------##
##  File:
##	$Id: mhonarc,v 2.11 2005/07/11 00:13:00 ehood Exp $
##  Author:
##      Earl Hood       mhonarc@mhonarc.org
##  Description:
##      MHonArc is a Perl program to convert mail to HTML.  See
##	accompany documentation for full details.
##---------------------------------------------------------------------------##
##    MHonArc -- Internet mail-to-HTML converter
##    Copyright (C) 1995-1999	Earl Hood, mhonarc@mhonarc.org
##
##    This program is free software; you can redistribute it and/or modify
##    it under the terms of the GNU General Public License as published by
##    the Free Software Foundation; either version 2 of the License, or
##    (at your option) any later version.
##
##    This program is distributed in the hope that it will be useful,
##    but WITHOUT ANY WARRANTY; without even the implied warranty of
##    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##    GNU General Public License for more details.
##
##    You should have received a copy of the GNU General Public License
##    along with this program; if not, write to the Free Software
##    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
##    02111-1307, USA
##---------------------------------------------------------------------------##

##---------------------------------------------------------------------------##
##				Main routine				     ##
##---------------------------------------------------------------------------##

MAIN: {
    unshift(@INC, 'lib');	# Should I leave this line in?

    require 'mhamain.pl' || die qq/ERROR: Unable to require "mhamain.pl"\n/;
    mhonarc::initialize();
    mhonarc::process_input() ? exit(0) : exit($mhonarc::CODE);
}

##---------------------------------------------------------------------------##
1;

__END__

=head1 NAME

mhonarc - convert mail/news messages to HTML

=head1 SYNOPSIS

S<B<mhonarc> [I<options>] [I<arguments>]>

=head1 DESCRIPTION

B<MHonArc> is a Perl program for converting mail, or news, messages
into HTML archives.  B<MHonArc> can also be used to convert
individual messages into HTML documents.

The documentation for B<MHonArc> is distributed in HTML format.
Due to its size and organization, it is not suited for manpage
format.  Consult your system administrator for where the documentation
has been installed, or see L<"AVAILABILITY"> on where you can
access the documentation on the web.

Running "C<mhonarc -help>" will give a summary of the command-line
options available.

=head1 PREREQUISITES

B<Fcntl>,
B<File::Basename>,
B<Getopt::Long>,
B<Symbol>,
B<Time::Local>

=head1 COREQUISITES

B<Encode>,
B<Digest::MD5>,
B<File::Temp>,
B<MIME::Base64>,
B<POSIX>

=head1 OSNAMES

any

=head1 AVAILABILITY

E<lt>I<http://www.mhonarc.org/>E<gt>

=head1 SCRIPT CATEGORIES

Mail

=head1 AUTHOR

Earl Hood, mhonarc@mhonarc.org

MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only
under the terms of the GNU General Public License, which may be found in
the MHonArc distribution.

=cut