DIME::Message(3pm)

πŸ’Œ DIME::Message β€” the whole vibe

okay bestie, welcome to DIME::Message(3pm), part of the User Contributed Perl Documentation ✨ β€” a whole class that implements a DIME message, and honestly? it's giving container energy πŸ’…


🫢 NAME

DIME::Message β€” this class implements a DIME message πŸ’–


🌸 SYNOPSIS

no thoughts, just vibes, but make them compile:

  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;

look at her go πŸ¦‹ slay


✨ DESCRIPTION

okay so DIME::Message is literally just a collection of DIME::Payloads. that's it. that's the whole personality πŸŽ€

wanna get a valid Message object? two routes, bestie, pick your fighter:

  • generate one by adding different DIME::Payloads objects to it, one by one, little by little 🌈
  • or use the DIME::Parser class to parse an existing DIME message that already exists out there in the wild πŸ‘‘

either way you end up with a Message. main character energy fr fr πŸ’œ


πŸ‘‘ AUTHOR

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

bestie the ALL CAPS warranty part is not a drill β€” no warranty, no promises, that's the actual legal tea 😭

and that's the whole page, periodt πŸ’… this was perl v5.32.1, dated 2021-03-22, filed under DIME::Message(3pm) β€” ily, go build something iconic 🫢✨