Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | #!/import/bw/tools/local/perl-5.8.0/bin/perl |
2 | use lib qw(/import/bw/tools/local/perl-5.8.0/lib/site_perl/5.8.0); | |
3 | #!/usr/local/bin/perl | |
4 | ##---------------------------------------------------------------------------## | |
5 | ## File: | |
6 | ## $Id: mhonarc,v 2.7 2001/09/05 16:01:54 ehood Exp $ | |
7 | ## Author: | |
8 | ## Earl Hood mhonarc@mhonarc.org | |
9 | ## Description: | |
10 | ## MHonArc is a Perl program to convert mail to HTML. See | |
11 | ## accompany documentation for full details. | |
12 | ##---------------------------------------------------------------------------## | |
13 | ## MHonArc -- Internet mail-to-HTML converter | |
14 | ## Copyright (C) 1995-1999 Earl Hood, mhonarc@mhonarc.org | |
15 | ## | |
16 | ## This program is free software; you can redistribute it and/or modify | |
17 | ## it under the terms of the GNU General Public License as published by | |
18 | ## the Free Software Foundation; either version 2 of the License, or | |
19 | ## (at your option) any later version. | |
20 | ## | |
21 | ## This program is distributed in the hope that it will be useful, | |
22 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
23 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24 | ## GNU General Public License for more details. | |
25 | ## | |
26 | ## You should have received a copy of the GNU General Public License | |
27 | ## along with this program; if not, write to the Free Software | |
28 | ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
29 | ## 02111-1307, USA | |
30 | ##---------------------------------------------------------------------------## | |
31 | ||
32 | ##---------------------------------------------------------------------------## | |
33 | ## Main routine ## | |
34 | ##---------------------------------------------------------------------------## | |
35 | ||
36 | MAIN: { | |
37 | unshift(@INC, 'lib'); # Should I leave this line in? | |
38 | ||
39 | require 'mhamain.pl' || die qq/ERROR: Unable to require "mhamain.pl"\n/; | |
40 | mhonarc::initialize(); | |
41 | mhonarc::process_input() ? exit(0) : exit($mhonarc::CODE); | |
42 | } | |
43 | ||
44 | ##---------------------------------------------------------------------------## | |
45 | 1; | |
46 | ||
47 | __END__ | |
48 | ||
49 | =head1 NAME | |
50 | ||
51 | mhonarc - convert mail/news messages to HTML | |
52 | ||
53 | =head1 SYNOPSIS | |
54 | ||
55 | S<B<mhonarc> [I<options>] [I<arguments>]> | |
56 | ||
57 | =head1 DESCRIPTION | |
58 | ||
59 | B<MHonArc> is a Perl program for converting mail, or news, messages | |
60 | into HTML archives. B<MHonArc> can also be used to convert | |
61 | individual messages into HTML documents. | |
62 | ||
63 | The documentation for B<MHonArc> is distributed in HTML format. | |
64 | Due to its size and organization, it is not suited for manpage | |
65 | format. Consult your system administrator for where the documentation | |
66 | has been installed, or see L<"AVAILABILITY"> on where you can | |
67 | access the documentation on the web. | |
68 | ||
69 | Running "C<mhonarc -help>" will give a summary of the command-line | |
70 | options available. | |
71 | ||
72 | =head1 PREREQUISITES | |
73 | ||
74 | B<Getopt::Long>, B<Time::Local> | |
75 | ||
76 | =head1 COREQUISITES | |
77 | ||
78 | B<Digest::MD5>, | |
79 | B<Fcntl>, | |
80 | B<Symbol> | |
81 | ||
82 | =head1 OSNAMES | |
83 | ||
84 | any | |
85 | ||
86 | =head1 AVAILABILITY | |
87 | ||
88 | E<lt>I<http://www.mhonarc.org/>E<gt> | |
89 | ||
90 | =head1 SCRIPT CATEGORIES | |
91 | ||
92 | ||
93 | ||
94 | =head1 AUTHOR | |
95 | ||
96 | Earl Hood, mhonarc@mhonarc.org | |
97 | ||
98 | =cut | |
99 |