DIME::Message - this class implements a DIME message


DIME-Tools documentation  | view source Contained in the DIME-Tools distribution.

Index


NAME

Top

DIME::Message - this class implements a DIME message

SYNOPSIS

Top

  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;

DESCRIPTION

Top

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.

AUTHOR

Top

Domingo Alcazar Larrea, <dalcazar@cpan.org>

COPYRIGHT AND LICENSE

Top


DIME-Tools documentation  | view source Contained in the DIME-Tools distribution.