You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2022/07/21 14:23:36 UTC
svn commit: r1902912 - /spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Author: mmartinec
Date: Thu Jul 21 14:23:36 2022
New Revision: 1902912
URL: http://svn.apache.org/viewvc?rev=1902912&view=rev
Log:
set_tag() documentation small fix
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=1902912&r1=1902911&r2=1902912&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Thu Jul 21 14:23:36 2022
@@ -1753,7 +1753,7 @@ compatibility.
C<$value> can also be a subroutine reference, which will be evaluated
each time the template is expanded. The first argument passed by get_tag
to a called subroutine will be a PerMsgStatus object (this module's object),
-followed by optional arguments provided a caller to get_tag.
+followed by optional arguments provided by a caller to get_tag.
Note that perl supports closures, which means that variables set in the
caller's scope can be accessed inside this C<sub>. For example:
@@ -1768,8 +1768,6 @@ See C<Mail::SpamAssassin::Conf>'s C<TEMP
USING REGEX NAMED CAPTURE GROUPS> sections for more details on how template
tags are used.
-C<undef> will be returned if a tag by that name has not been defined.
-
=cut
sub set_tag {