DOKK / manpages / debian 11 / sympa / Sympa::Spool::Topic.3sympa.en
Sympa::Spool::Topic(3Sympa) sympa 6.2.60 Sympa::Spool::Topic(3Sympa)

Sympa::Spool::Topic - Message topic

  use Sympa::Spool::Topic;
  
  $topic = Sympa::Spool::Topic->new(topic => $topics, method => 'auto');
  $topic->store($message);
  
  $topic = Sympa::Spool::Topic->load($message);

TBD.

Constructor. Creates new instance of Sympa::Spool::Topic.
Constructor. Looks for a msg topic file from the message_id of the message, loads it and return contained information as hash items.

Parameters:

$message
Sympa::Message instance to be looked for.
Use value of "In-Reply-To:" field instead of message ID.

Returns:

Instance of Sympa::Spool::Topic or, if topic was not found, "undef".

Instance method. Tag the message by creating the msg topic file.

Parameter:

$message
Message to be tagged.

Returns:

Message topic filename or "undef".

Directory path where topic files are stored.

Note: Though it is neither queue nor spool, named such by historical reason.

The umask to make directory.

Sympa::Spool::Topic is not a real subsclass of Sympa::Spool.

Feature to handle message topics was introduced on Sympa 5.2b.

Sympa::Topic module appeared on Sympa 6.2.10. It was renamed to Sympa::Spool::Topic on Sympa 6.2.45b.3.

2021-02-07 6.2.60