DIME::Message - this class implements a DIME message
use DIME::Message; use DIME::Payload; my $payload = new DIME::Payload; $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, <dalcazar@cpan.org>
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
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Alcázar'. Assuming CP1252
To install DIME::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DIME::Tools
CPAN shell
perl -MCPAN -e shell install DIME::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.