|DIME::Message(3pm)||User Contributed Perl Documentation||DIME::Message(3pm)|
DIME::Message - this class implements a DIME message
use DIME::Message; use DIME::Payload; my $payload = DIME::Payload->new; $payload->attach(Path => '/mydata/content.txt'); $message->add_payload($payload); my $ref_dime_message = $message->print_data(); print $$ref_dime_message;
DIME::Message is a collection of DIME::Payloads. To get a valid Message object, you can generate one adding different DIME::Payloads objects, or use DIME::Parser class to parse an existing DIME message.
Domingo Alcazar Larrea, <email@example.com>
COPYRIGHT AND LICENSE¶
Copyright (C) 2004 Domingo Alcázar Larrea
This program is free software; you can redistribute it and/or modify it under the terms of the version 2 of the GNU General Public License as published by the Free Software Foundation.
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