#-*- perl -*- # # Copyright (C) 2001,2002 Ken'ichi Fukamachi # All rights reserved. This program is free software; you can # redistribute it and/or modify it under the same terms as Perl itself. # # $FML: Parse.pm,v 1.7 2002/09/11 23:18:25 fukachan Exp $ # package Mail::Message::Parse; use strict; use vars qw(@ISA); use Carp; use Mail::Message; @ISA = qw(Mail::Message); # Descriptions: fake constructor. # run Mail::Message->parse($args) in fact. # Arguments: OBJ($self) HASH_REF($args) # Side Effects: none # Return Value: OBJ sub new { my ($self, $args) = @_; return Mail::Message->parse($args); } =head1 NAME Mail::Message::Parse - parse a mail message =head1 SYNOPSIS use Mail::Message::Parse; my $fh = new Mail::Message::Parse $args; where C<$args> is same as one of C's C. =head1 DESCRIPTION just a wrapper for C parser function. =head1 CODING STYLE See C on fml coding style guide. =head1 AUTHOR Ken'ichi Fukamachi =head1 COPYRIGHT Copyright (C) 2001,2002 Ken'ichi Fukamachi All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =head1 HISTORY Mail::Message::Parse first appeared in fml8 mailing list driver package. See C for more details. =cut 1;