You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2023/11/15 22:05:57 UTC

svn commit: r1913814 - in /spamassassin/trunk/lib/Mail/SpamAssassin: ./ Message/ Plugin/ Util/

Author: gbechis
Date: Wed Nov 15 22:05:57 2023
New Revision: 1913814

URL: http://svn.apache.org/viewvc?rev=1913814&view=rev
Log:
more podlint(1) fixes

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/AutoWelcomelist.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/GeoDB.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/PersistentAddrList.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDetail.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Timeout.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm Wed Nov 15 22:05:57 2023
@@ -77,7 +77,7 @@ and C<result_sub> functions appropriatel
 
 ###########################################################################
 
-=item $item = Mail::SpamAssassin::ArchiveIterator->new( [ { opt => val, ... } ] )
+=item $item = Mail::SpamAssassin::ArchiveIterator-E<gt>new( [ { opt =E<gt> val, ... } ] )
 
 Constructs a new C<Mail::SpamAssassin::ArchiveIterator> object.  You may
 pass the following attribute-value pairs to the constructor.  The pairs are

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/AsyncLoop.pm Wed Nov 15 22:05:57 2023
@@ -85,7 +85,7 @@ sub new {
 
 # ---------------------------------------------------------------------------
 
-=item $ent = $async->bgsend_and_start_lookup($name, $type, $class, $ent, $cb, %options)
+=item $ent = $async-E<gt>bgsend_and_start_lookup($name, $type, $class, $ent, $cb, %options)
 
 Launch async DNS lookups.  This is the only official method supported for
 plugins since version 4.0.0.  Do not use bgsend and start_lookup separately.
@@ -111,26 +111,26 @@ Deprecated, ignored, set as undef.
 
 =over 4
 
-=item $ent->{rulename} (required)
+=item $ent-E<gt>{rulename} (required)
 
 The rulename that started and/or depends on this query.  Required for rule
 dependencies to work correctly.  Can be a single rulename, or array of
 multiple rulenames.
 
-=item $ent->{type} (optional)
+=item $ent-E<gt>{type} (optional)
 
 A string, typically one word, used to describe the type of lookup in log
 messages, such as C<DNSBL>, C<URIBL-A>.  If not defined, default is value of
 $type.
 
-=item $ent->{zone} (optional)
+=item $ent-E<gt>{zone} (optional)
 
 A zone specification (typically a DNS zone name - e.g.  host, domain, or
 RBL) which may be used as a key to look up per-zone settings.  No semantics
 on this parameter is imposed by this module.  Currently used to fetch
 by-zone timeouts (from rbl_timeout setting).  Defaults to $name.
 
-=item $ent->{timeout_initial} (optional)
+=item $ent-E<gt>{timeout_initial} (optional)
 
 An initial value of elapsed time for which we are willing to wait for a
 response (time in seconds, floating point value is allowed). When elapsed
@@ -147,17 +147,17 @@ variable rbl_timeout.
 If a value of the timeout_initial parameter is below timeout_min, the initial
 timeout is set to timeout_min.
 
-=item $ent->{timeout_min} (optional)
+=item $ent-E<gt>{timeout_min} (optional)
 
 A lower bound (in seconds) to which the actual timeout approaches as the
 number of queries completed approaches the number of all queries started.
 Defaults to 0.2 * timeout_initial.
 
-=item $ent->{key}, $ent->{id} (deprecated)
+=item $ent-E<gt>{key}, $ent-E<gt>{id} (deprecated)
 
 Deprecated, ignored, automatically generated since 4.0.0.
 
-=item $ent->{YOUR_OWN_ITEM}
+=item $ent-E<gt>{YOUR_OWN_ITEM}
 
 Any other custom values/objects that you want to pass on to the answer
 callback.
@@ -166,10 +166,10 @@ callback.
 
 =item $cb (required)
 
-Callback function for answer, called as $cb->($ent, $pkt).  C<$ent> is the
+Callback function for answer, called as $cb-E<gt>($ent, $pkt).  C<$ent> is the
 same object that bgsend_and_start_lookup was called with.  C<$pkt> is the
 packet object for the response, Net::DNS:RR objects can be found from
-$pkt->answer.
+$pkt-E<gt>answer.
 
 =item %options (required)
 
@@ -386,7 +386,7 @@ sub bgsend_and_start_lookup {
 
 # ---------------------------------------------------------------------------
 
-=item $ent = $async->start_lookup($ent, $master_deadline)
+=item $ent = $async-E<gt>start_lookup($ent, $master_deadline)
 
 DIRECT USE DEPRECATED since 4.0.0, please use bgsend_and_start_lookup.
 
@@ -483,7 +483,7 @@ sub _start_lookup {
 
 # ---------------------------------------------------------------------------
 
-=item $ent = $async->get_lookup($key)
+=item $ent = $async-E<gt>get_lookup($key)
 
 DEPRECATED since 4.0.0. Do not use.
 
@@ -497,7 +497,7 @@ sub get_lookup {
 
 # ---------------------------------------------------------------------------
 
-=item $async->log_lookups_timing()
+=item $async-E<gt>log_lookups_timing()
 
 Log sorted timing for all completed lookups.
 
@@ -513,7 +513,7 @@ sub log_lookups_timing {
 
 # ---------------------------------------------------------------------------
 
-=item $alldone = $async->complete_lookups()
+=item $alldone = $async-E<gt>complete_lookups()
 
 Perform a poll of the pending lookups, to see if any are completed.
 Callbacks on completed queries will be called from poll_responses().
@@ -644,7 +644,7 @@ sub complete_lookups {
 
 # ---------------------------------------------------------------------------
 
-=item $async->abort_remaining_lookups()
+=item $async-E<gt>abort_remaining_lookups()
 
 Abort any remaining lookups.
 
@@ -712,21 +712,21 @@ sub abort_remaining_lookups {
 
 # ---------------------------------------------------------------------------
 
-=item $async->set_response_packet($id, $pkt, $key, $timestamp)
+=item $async-E<gt>set_response_packet($id, $pkt, $key, $timestamp)
 
 For internal use, do not call from plugins.
 
 Register a "response packet" for a given query.  C<$id> is the ID for the
 query, and must match the C<id> supplied in C<start_lookup()>. C<$pkt> is the
 packet object for the response. A parameter C<$key> identifies an entry in a
-hash %{$self->{pending_lookups}} where the object which spawned this query can
+hash %{$self-E<gt>{pending_lookups}} where the object which spawned this query can
 be found, and through which further information about the query is accessible.
 
 C<$pkt> may be undef, indicating that no response packet is available, but a
 query has completed (e.g. was aborted or dismissed) and is no longer "pending".
 
 The DNS resolver's response packet C<$pkt> will be made available to a callback
-subroutine through its argument as well as in C<$ent-<gt>{response_packet}>.
+subroutine through its argument as well as in C<$ent-E<gt>{response_packet}>.
 
 =cut
 
@@ -765,11 +765,11 @@ sub set_response_packet {
   1;
 }
 
-=item $async->report_id_complete($id,$key,$key,$timestamp)
+=item $async-E<gt>report_id_complete($id,$key,$key,$timestamp)
 
 DEPRECATED since 4.0.0. Do not use.
 
-Legacy. Equivalent to $self->set_response_packet($id,undef,$key,$timestamp),
+Legacy. Equivalent to $self-E<gt>set_response_packet($id,undef,$key,$timestamp),
 i.e. providing undef as a response packet. Register that a query has
 completed and is no longer "pending". C<$id> is the ID for the query,
 and must match the C<id> supplied in C<start_lookup()>.
@@ -786,7 +786,7 @@ sub report_id_complete {
 
 # ---------------------------------------------------------------------------
 
-=item $time = $async->last_poll_responses_time()
+=item $time = $async-E<gt>last_poll_responses_time()
 
 Get the time of the last call to C<poll_responses()> (which is called
 from C<complete_lookups()>.  If C<poll_responses()> was never called or

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/AutoWelcomelist.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/AutoWelcomelist.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/AutoWelcomelist.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/AutoWelcomelist.pm Wed Nov 15 22:05:57 2023
@@ -103,7 +103,7 @@ sub new {
 
 ###########################################################################
 
-=item $meanscore = awl->check_address($addr, $originating_ip, $signedby);
+=item $meanscore = awl-E<gt>check_address($addr, $originating_ip, $signedby);
 
 This method will return the mean score of all messages associated with the
 given address, or undef if the address hasn't been seen before.
@@ -158,7 +158,7 @@ sub check_address {
 
 ###########################################################################
 
-=item awl->count();
+=item awl-E<gt>count();
 
 This method will return the count of messages used in determining the
 welcomelist correction.
@@ -173,7 +173,7 @@ sub count {
 
 ###########################################################################
 
-=item awl->add_score($score);
+=item awl-E<gt>add_score($score);
 
 This method will add half the score to the current entry.  Half the
 score is used, so that repeated use of the same From and IP address
@@ -198,7 +198,7 @@ sub add_score {
 
 ###########################################################################
 
-=item awl->add_known_good_address($addr);
+=item awl-E<gt>add_known_good_address($addr);
 
 This method will add a score of -100 to the given address -- effectively
 "bootstrapping" the address as being one that should be welcomelisted.
@@ -214,7 +214,7 @@ sub add_known_good_address {
 
 ###########################################################################
 
-=item awl->add_known_bad_address($addr);
+=item awl-E<gt>add_known_bad_address($addr);
 
 This method will add a score of 100 to the given address -- effectively
 "bootstrapping" the address as being one that should be blocklisted.

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/DnsResolver.pm Wed Nov 15 22:05:57 2023
@@ -86,7 +86,7 @@ sub new {
 
 ###########################################################################
 
-=item $res->load_resolver()
+=item $res-E<gt>load_resolver()
 
 Load the C<Net::DNS::Resolver> object.  Returns 0 if Net::DNS cannot be used,
 1 if it is available.
@@ -185,7 +185,7 @@ sub load_resolver {
   return defined $self->{res};
 }
 
-=item $resolver = $res->get_resolver()
+=item $resolver = $res-E<gt>get_resolver()
 
 Return the C<Net::DNS::Resolver> object.
 
@@ -196,7 +196,7 @@ sub get_resolver {
   return $self->{res};
 }
 
-=item $res->configured_nameservers()
+=item $res-E<gt>configured_nameservers()
 
 Get a list of nameservers as configured by dns_server directives
 or as provided by Net::DNS, typically from /etc/resolv.conf
@@ -221,7 +221,7 @@ sub configured_nameservers {
   return @ns_addr_port;
 }
 
-=item $res->available_nameservers()
+=item $res-E<gt>available_nameservers()
 
 Get or set a list of currently available nameservers,
 which is typically a known-to-be-good subset of configured nameservers
@@ -346,7 +346,7 @@ sub pick_random_available_port {
   return $port_number;
 }
 
-=item $res->connect_sock()
+=item $res-E<gt>connect_sock()
 
 Re-connect to the first nameserver listed in C</etc/resolv.conf> or similar
 platform-dependent source, as provided by C<Net::DNS>.
@@ -477,7 +477,7 @@ sub connect_sock_if_reqd {
   $self->connect_sock() if !$self->{sock};
 }
 
-=item $res->get_sock()
+=item $res-E<gt>get_sock()
 
 Return the C<IO::Socket::INET> object used to communicate with
 the nameserver.
@@ -655,7 +655,7 @@ sub _packet_id {
 
 ###########################################################################
 
-=item $id = $res->bgsend($domain, $type, $class, $cb)
+=item $id = $res-E<gt>bgsend($domain, $type, $class, $cb)
 
 DIRECT USE DISCOURAGED, please use bgsend_and_start_lookup in plugins.
 
@@ -738,7 +738,7 @@ sub bgsend {
 
 ###########################################################################
 
-=item $id = $res->bgread()
+=item $id = $res-E<gt>bgread()
 
 Similar to C<Net::DNS::Resolver::bgread>.  Reads a DNS packet from
 a supplied socket, decodes it, and returns a Net::DNS::Packet object
@@ -769,7 +769,7 @@ sub bgread {
 
 ###########################################################################
 
-=item $nfound = $res->poll_responses()
+=item $nfound = $res-E<gt>poll_responses()
 
 See if there are any C<bgsend> reply packets ready, and return
 the number of such packets delivered to their callbacks.
@@ -934,7 +934,7 @@ sub flush_responses {
 
 ###########################################################################
 
-=item $res->bgabort()
+=item $res-E<gt>bgabort()
 
 Call this to release pending requests from memory, when aborting backgrounded
 requests, or when the scan is complete.
@@ -949,7 +949,7 @@ sub bgabort {
 
 ###########################################################################
 
-=item $packet = $res->send($name, $type, $class)
+=item $packet = $res-E<gt>send($name, $type, $class)
 
 Emulates C<Net::DNS::Resolver::send()>.
 
@@ -1006,12 +1006,12 @@ sub send {
 
 ###########################################################################
 
-=item $res->errorstring()
+=item $res-E<gt>errorstring()
 
 Little more than a stub for callers expecting this from C<Net::DNS::Resolver>.
 
-If called immediately after a call to $res->send this will return
-C<query timed out> if the $res->send DNS query timed out.  Otherwise 
+If called immediately after a call to $res-E<gt>send this will return
+C<query timed out> if the $res-E<gt>send DNS query timed out.  Otherwise 
 C<unknown error or no error> will be returned.
 
 No other errors are reported.
@@ -1026,7 +1026,7 @@ sub errorstring {
 
 ###########################################################################
 
-=item $res->finish_socket()
+=item $res-E<gt>finish_socket()
 
 Reset socket when done with it.
 
@@ -1043,7 +1043,7 @@ sub finish_socket {
 
 ###########################################################################
 
-=item $res->finish()
+=item $res-E<gt>finish()
 
 Clean up for destruction.
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/GeoDB.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/GeoDB.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/GeoDB.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/GeoDB.pm Wed Nov 15 22:05:57 2023
@@ -24,8 +24,8 @@ Plugins need to signal SA main package t
 package Mail::SpamAssassin::Plugin::MyPlugin;
 sub new {
   ...
-  $self->{main}->{geodb_wanted}->{country} = 1;
-  $self->{main}->{geodb_wanted}->{isp} = 1;
+  $self-E<gt>{main}-E<gt>{geodb_wanted}-E<gt>{country} = 1;
+  $self-E<gt>{main}-E<gt>{geodb_wanted}-E<gt>{isp} = 1;
 )
 
 (internal stuff still subject to change)

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Logger.pm Wed Nov 15 22:05:57 2023
@@ -305,7 +305,7 @@ sub _log {
   log_message(($level == INFO ? "info" : "dbg"), $message);
 }
 
-=item add(method => 'syslog', socket => $socket, facility => $facility, escape => $escape)
+=item add(method =E<gt> 'syslog', socket =E<gt> $socket, facility =E<gt> $facility, escape =E<gt> $escape)
 
 C<socket> is the type the syslog ("unix" or "inet").  C<facility> is the
 syslog facility (typically "mail").
@@ -318,12 +318,12 @@ output: backslashes change to \\ and non
 Escape value can be overridden with environment variable
 C<SA_LOGGER_ESCAPE>.
 
-=item add(method => 'file', filename => $file, escape => $escape)
+=item add(method =E<gt> 'file', filename =E<gt> $file, escape =E<gt> $escape)
 
 C<filename> is the name of the log file.  C<escape> works as described
 above.
 
-=item add(method => 'stderr', escape => $escape)
+=item add(method =E<gt> 'stderr', escape =E<gt> $escape)
 
 No options are needed for stderr logging, just don't close stderr first. 
 C<escape> works as described above.

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata.pm Wed Nov 15 22:05:57 2023
@@ -28,12 +28,12 @@ supplemental data inferred from the mess
 It is held in two forms:
 
 1. as name-value pairs of strings, presented in mail header format.  For
-  example, "X-Languages" => "en".  This is the general form for simple
+  example, "X-Languages" =E<gt> "en".  This is the general form for simple
   metadata that's useful as Bayes tokens, can be added to marked-up
   messages using "add_header", etc., such as the trusted-relay inference
   and language detection.
 
-2. as more complex data structures on the $msg->{metadata} object.  This
+2. as more complex data structures on the $msg-E<gt>{metadata} object.  This
   is the form used for metadata like the HTML parse data, which is stored
   there for access by eval rule code.   Because it's not simple strings,
   it's not added as a Bayes token by default (Bayes needs simple strings).

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm Wed Nov 15 22:05:57 2023
@@ -157,7 +157,7 @@ sub forget {
 
 ###########################################################################
 
-=item $didlearn = $status->did_learn()
+=item $didlearn = $status-E<gt>did_learn()
 
 Returns C<1> if the message was learned from or forgotten successfully.
 
@@ -170,7 +170,7 @@ sub did_learn {
 
 ###########################################################################
 
-=item $status->finish()
+=item $status-E<gt>finish()
 
 Finish with the object.
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Wed Nov 15 22:05:57 2023
@@ -360,7 +360,7 @@ sub DESTROY {
 
 ###########################################################################
 
-=item $status->check ()
+=item $status-E<gt>check ()
 
 Runs the SpamAssassin rules against the message pointed to by the object.
 
@@ -529,7 +529,7 @@ sub check_cleanup {
 
 ###########################################################################
 
-=item $status->learn()
+=item $status-E<gt>learn()
 
 After a mail message has been checked, this method can be called.  If the score
 is outside a certain range around the threshold, ie. if the message is judged
@@ -627,7 +627,7 @@ sub learn_timed {
   }
 }
 
-=item $score = $status->get_autolearn_points()
+=item $score = $status-E<gt>get_autolearn_points()
 
 Return the message's score as computed for auto-learning.  Certain tests are
 ignored:
@@ -650,7 +650,7 @@ sub get_autolearn_points {
   return $self->{autolearn_points};
 }
 
-=item $score = $status->get_head_only_points()
+=item $score = $status-E<gt>get_head_only_points()
 
 Return the message's score as computed for auto-learning, ignoring
 all rules except for header-based ones.
@@ -663,7 +663,7 @@ sub get_head_only_points {
   return $self->{head_only_points};
 }
 
-=item $score = $status->get_learned_points()
+=item $score = $status-E<gt>get_learned_points()
 
 Return the message's score as computed for auto-learning, ignoring
 all rules except for learning-based ones.
@@ -676,7 +676,7 @@ sub get_learned_points {
   return $self->{learned_points};
 }
 
-=item $score = $status->get_body_only_points()
+=item $score = $status-E<gt>get_body_only_points()
 
 Return the message's score as computed for auto-learning, ignoring
 all rules except for body-based ones.
@@ -689,7 +689,7 @@ sub get_body_only_points {
   return $self->{body_only_points};
 }
 
-=item $score = $status->get_autolearn_force_status()
+=item $score = $status-E<gt>get_autolearn_force_status()
 
 Return whether a message's score included any rules that are flagged as
 autolearn_force.
@@ -702,7 +702,7 @@ sub get_autolearn_force_status {
   return $self->{autolearn_force};
 }
 
-=item $rule_names = $status->get_autolearn_force_names()
+=item $rule_names = $status-E<gt>get_autolearn_force_names()
 
 Return a list of comma separated list of rule names if a message's
 score included any rules that are flagged as autolearn_force.
@@ -859,7 +859,7 @@ sub _get_autolearn_points {
 
 ###########################################################################
 
-=item $isspam = $status->is_spam ()
+=item $isspam = $status-E<gt>is_spam ()
 
 After a mail message has been checked, this method can be called.  It will
 return 1 for mail determined likely to be spam, 0 if it does not seem
@@ -875,7 +875,7 @@ sub is_spam {
 
 ###########################################################################
 
-=item $list = $status->get_names_of_tests_hit ()
+=item $list = $status-E<gt>get_names_of_tests_hit ()
 
 After a mail message has been checked, this method can be called. It will
 return a comma-separated string, listing all the symbolic test names
@@ -889,7 +889,7 @@ sub get_names_of_tests_hit {
   return join(',', sort @{$self->{test_names_hit}});
 }
 
-=item $list = $status->get_names_of_tests_hit_with_scores_hash ()
+=item $list = $status-E<gt>get_names_of_tests_hit_with_scores_hash ()
 
 After a mail message has been checked, this method can be called. It will
 return a pointer to a hash for rule & score pairs for all the symbolic
@@ -907,7 +907,7 @@ sub get_names_of_tests_hit_with_scores_h
   return \%testsscores;
 }
 
-=item $list = $status->get_names_of_tests_hit_with_scores ()
+=item $list = $status-E<gt>get_names_of_tests_hit_with_scores ()
 
 After a mail message has been checked, this method can be called. It will
 return a comma-separated string of rule=score pairs for all the symbolic
@@ -927,7 +927,7 @@ sub get_names_of_tests_hit_with_scores {
 
 ###########################################################################
 
-=item $list = $status->get_names_of_subtests_hit ()
+=item $list = $status-E<gt>get_names_of_subtests_hit ()
 
 After a mail message has been checked, this method can be called.  It will
 return a comma-separated string, listing all the symbolic test names of the
@@ -981,7 +981,7 @@ sub get_names_of_subtests_hit {
 
 ###########################################################################
 
-=item $num = $status->get_score ()
+=item $num = $status-E<gt>get_score ()
 
 After a mail message has been checked, this method can be called.  It will
 return the message's score.
@@ -1001,7 +1001,7 @@ sub get_hits {
 
 ###########################################################################
 
-=item $num = $status->get_required_score ()
+=item $num = $status-E<gt>get_required_score ()
 
 After a mail message has been checked, this method can be called.  It will
 return the score required for a mail to be considered spam.
@@ -1021,7 +1021,7 @@ sub get_required_hits {
 
 ###########################################################################
 
-=item $num = $status->get_autolearn_status ()
+=item $num = $status-E<gt>get_autolearn_status ()
 
 After a mail message has been checked, this method can be called.  It will
 return one of the following strings depending on whether the mail was
@@ -1045,7 +1045,7 @@ sub get_autolearn_status {
 
 ###########################################################################
 
-=item $report = $status->get_report ()
+=item $report = $status-E<gt>get_report ()
 
 Deliver a "spam report" on the checked mail message.  This contains details of
 how many spam detection rules it triggered.
@@ -1076,7 +1076,7 @@ sub get_report {
 
 ###########################################################################
 
-=item $preview = $status->get_content_preview ()
+=item $preview = $status-E<gt>get_content_preview ()
 
 Give a "preview" of the content.
 
@@ -1121,7 +1121,7 @@ sub get_content_preview {
 
 ###########################################################################
 
-=item $msg = $status->get_message()
+=item $msg = $status-E<gt>get_message()
 
 Return the object representing the message being scanned.
 
@@ -1134,7 +1134,7 @@ sub get_message {
 
 ###########################################################################
 
-=item $status->rewrite_mail ()
+=item $status-E<gt>rewrite_mail ()
 
 Rewrite the mail message.  This will at minimum add headers, and at
 maximum MIME-encapsulate the message text, to reflect its spam or not-spam
@@ -1625,7 +1625,7 @@ sub _replace_tags {
 
 # public API for plugins
 
-=item $status->action_depends_on_tags($tags, $code, @args)
+=item $status-E<gt>action_depends_on_tags($tags, $code, @args)
 
 Enqueue the supplied subroutine reference C<$code>, to become runnable when
 all the specified tags become available. The C<$tags> may be a simple
@@ -1739,7 +1739,7 @@ sub report_unsatisfied_actions {
   }
 }
 
-=item $status->set_tag($tagname, $value)
+=item $status-E<gt>set_tag($tagname, $value)
 
 Set a template tag, as used in C<add_header>, report templates, etc.  This
 API is intended for use by plugins.  Tag names will be converted to an
@@ -1781,7 +1781,7 @@ sub set_tag {
 
 # public API for plugins
 
-=item $string = $status->get_tag($tagname)
+=item $string = $status-E<gt>get_tag($tagname)
 
 Get the current value of a template tag, as used in C<add_header>, report
 templates, etc. This API is intended for use by plugins.  Tag names will be
@@ -1824,7 +1824,7 @@ sub get_tag {
   return $data;
 }
 
-=item $string = $status->get_tag_raw($tagname, @args)
+=item $string = $status-E<gt>get_tag_raw($tagname, @args)
 
 Similar to C<get_tag>, but keeps a tag name unchanged (does not uppercase it),
 and does not convert arrayref tag values into a single string.
@@ -1861,7 +1861,7 @@ sub get_tag_raw {
 
 # public API for plugins
 
-=item $status->set_spamd_result_item($subref)
+=item $status-E<gt>set_spamd_result_item($subref)
 
 Set an entry for the spamd result log line.  C<$subref> should be a code
 reference for a subroutine which will return a string in C<'name=VALUE'>
@@ -1934,7 +1934,7 @@ sub _get_tag_value_for_required_score {
 
 ###########################################################################
 
-=item $status->finish ()
+=item $status-E<gt>finish ()
 
 Indicate that this C<$status> object is finished with, and can be destroyed.
 
@@ -1973,7 +1973,7 @@ sub finish_tests {}
 
 ###########################################################################
 
-=item $name = $status->get_current_eval_rule_name()
+=item $name = $status-E<gt>get_current_eval_rule_name()
 
 Return the name of the currently-running eval rule.  C<undef> is
 returned if no eval rule is currently being run.  Useful for plugins
@@ -2054,7 +2054,7 @@ sub extract_message_metadata {
 
 ###########################################################################
 
-=item $status->get_decoded_body_text_array ()
+=item $status-E<gt>get_decoded_body_text_array ()
 
 Returns the message body, with B<base64> or B<quoted-printable> encodings
 decoded, and non-text parts or non-inline attachments stripped.
@@ -2070,7 +2070,7 @@ sub get_decoded_body_text_array {
   return $_[0]->{msg}->get_decoded_body_text_array();
 }
 
-=item $status->get_decoded_stripped_body_text_array ()
+=item $status-E<gt>get_decoded_stripped_body_text_array ()
 
 Returns the message body, decoded (as described in
 get_decoded_body_text_array()), with HTML rendered, and with whitespace
@@ -2092,7 +2092,7 @@ sub get_decoded_stripped_body_text_array
 
 ###########################################################################
 
-=item $status->get (header_name [, default_value])
+=item $status-E<gt>get (header_name [, default_value])
 
 Returns message headers, pseudo-headers, names, email-addresses or some
 other parsed values set by modifiers.  C<header_name> is the name of a mail
@@ -2123,17 +2123,17 @@ result in "example@foo" (and "example@ba
 
 =item example@foo
 
-=item example@foo (Foo Blah), <ex...@bar>
+=item example@foo (Foo Blah), E<lt>example@barE<gt>
 
 =item example@foo, example@bar
 
 =item display: example@foo (Foo Blah), example@bar ;
 
-=item Foo Blah <ex...@foo>
+=item Foo Blah E<lt>example@fooE<gt>
 
-=item "Foo Blah" <ex...@foo>
+=item "Foo Blah" E<lt>example@fooE<gt>
 
-=item "'Foo Blah'" <ex...@foo>
+=item "'Foo Blah'" E<lt>example@fooE<gt>
 
 =back
 
@@ -2148,15 +2148,15 @@ stripped too, as it is often seen.
 
 =item example@foo (Foo Blah)
 
-=item example@foo (Foo Blah), "Bar Baz" <ex...@bar>
+=item example@foo (Foo Blah), "Bar Baz" E<lt>example@barI<gt>
 
 =item display: example@foo (Foo Blah), example@bar ;
 
-=item Foo Blah <ex...@foo>
+=item Foo Blah E<lt>example@fooE<gt>
 
-=item "Foo Blah" <ex...@foo>
+=item "Foo Blah" E<lt>example@fooE<gt>
 
-=item "'Foo Blah'" <ex...@foo>
+=item "'Foo Blah'" E<lt>example@fooE<gt>
 
 =back
 
@@ -2577,12 +2577,12 @@ sub _tbirdurire {
   return $self->{tbirdurire};
 }
 
-=item $status->get_uri_list ()
+=item $status-E<gt>get_uri_list ()
 
 Returns an array of all unique URIs found in the message.  It takes
 a combination of the URIs found in the rendered (decoded and HTML
 stripped) body and the URIs found when parsing the HTML in the message.
-Will also set $status->{uri_list} (the array as returned by this function).
+Will also set $status-E<gt>{uri_list} (the array as returned by this function).
 
 The returned array will include the "raw" URI as well as
 "slightly cooked" versions.  For example, the single URI
@@ -2622,13 +2622,13 @@ sub get_uri_list {
   return @{$self->{uri_list}};
 }
 
-=item $status->get_uri_detail_list ()
+=item $status-E<gt>get_uri_detail_list ()
 
 Returns a hash reference of all unique URIs found in the message and
 various data about where the URIs were found in the message.  It takes a
 combination of the URIs found in the rendered (decoded and HTML stripped)
 body and the URIs found when parsing the HTML in the message.  Will also
-set $status->{uri_detail_list} (the hash reference as returned by this
+set $status-E<gt>{uri_detail_list} (the hash reference as returned by this
 function).
 
 The hash format looks something like this:
@@ -2657,8 +2657,8 @@ linkifying (i.e. email address found in
 C<cleaned> is an array of the raw and canonicalized version of the raw_uri
 (http://spamassassin.apache%2Eorg/, https://spamassassin.apache.org/).
 
-C<anchor_text> is an array of the anchor text (text between <a> and
-</a>), if any, which linked to the URI.
+C<anchor_text> is an array of the anchor text (text between E<lt>aE<gt> and
+E<lt>/aE<gt>), if any, which linked to the URI.
 
 C<domains> is a hash of the domains found in the canonicalized URIs.
 
@@ -2843,7 +2843,7 @@ sub _process_dkim_uri_list {
   }
 }
 
-=item $status->add_uri_detail_list ($raw_uri, $types, $source, $valid_domain)
+=item $status-E<gt>add_uri_detail_list ($raw_uri, $types, $source, $valid_domain)
 
 Adds values to internal uri_detail_list.  When used from Plugins, recommended
 to call from parsed_metadata (along with register_method_priority, -10) so
@@ -2852,10 +2852,10 @@ other Plugins calling get_uri_detail_lis
 C<raw_uri> is the URI to be added. The only required parameter.
 
 C<types> is an optional hash reference, contents are added to
-uri_detail_list->{types} (see get_uri_detail_list for known keys). 
+uri_detail_list-E<gt>{types} (see get_uri_detail_list for known keys). 
 I<parsed> is default is no hash given.  I<nocanon> does not run
 uri_list_canonicalize (no redirector, uri fixing).  I<noclean> skips adding
-uri_detail_list->{cleaned}, so it would not be used in "uri" rule checks,
+uri_detail_list-E<gt>{cleaned}, so it would not be used in "uri" rule checks,
 but domain/hosts would still be used for URIBL/RBL purposes.
 
 C<source> is an optional simple string, only used for debug logging purposes
@@ -2987,7 +2987,7 @@ ENDOFEVAL
 
 ###########################################################################
 
-=item $status->clear_test_state()
+=item $status-E<gt>clear_test_state()
 
 DEPRECATED, UNNEEDED SINCE 4.0
 
@@ -3045,7 +3045,7 @@ sub _wrap_desc {
 
 ###########################################################################
 
-=item $status->got_hit ($rulename, $desc_prepend [, name => value, ...])
+=item $status-E<gt>got_hit ($rulename, $desc_prepend [, name =E<gt> value, ...])
 
 Register a hit against a rule in the ruleset.
 
@@ -3058,37 +3058,37 @@ data:
 
 =over 4
 
-=item score => $num
+=item score =E<gt> $num
 
 Optional: the score to use for the rule hit.  If unspecified,
 the value from the C<Mail::SpamAssassin::Conf> object's C<{scores}>
 hash will be used (a configured score), and in its absence the
 C<defscore> option value.
 
-=item defscore => $num
+=item defscore =E<gt> $num
 
 Optional: the score to use for the rule hit if neither the
 option C<score> is provided, nor a configured score value is provided.
 
-=item value => $num
+=item value =E<gt> $num
 
 Optional: the value to assign to the rule; the default value is C<1>.
 I<tflags multiple> rules use values of greater than 1 to indicate
 multiple hits.  This value is accessible to meta rules.
 
-=item ruletype => $type
+=item ruletype =E<gt> $type
 
 Optional, but recommended: the rule type string.  This is used in the
 C<hit_rule> plugin call, called by this method.  If unset, I<'unknown'> is
 used.
 
-=item tflags => $string
+=item tflags =E<gt> $string
 
 Optional: a string, i.e. a space-separated list of additional tflags
-to be appended to an existing list of flags in $self->{conf}->{tflags},
+to be appended to an existing list of flags in $self-E<gt>{conf}-E<gt>{tflags},
 such as: "nice noautolearn multiple". No syntax checks are performed.
 
-=item description => $string
+=item description =E<gt> $string
 
 Optional: a custom rule description string.  This is used in the
 C<hit_rule> plugin call, called by this method. If unset, the static
@@ -3097,7 +3097,7 @@ description is used.
 =back
 
 Backward compatibility: the two mandatory arguments have been part of this API
-since SpamAssassin 2.x.  The optional I<name=<gt>value> pairs, however, are a
+since SpamAssassin 2.x. The optional C<name=E<gt>value> pairs, however, are a
 new addition in SpamAssassin 3.2.0.
 
 =cut
@@ -3181,13 +3181,13 @@ sub got_hit {
   return 1;
 }
 
-=item $status->rule_ready ($rulename [, $no_async])
+=item $status-E<gt>rule_ready ($rulename [, $no_async])
 
 Mark an asynchronous rule ready, so it can be considered for meta rule
 evaluation.  Asynchronous rule is a rule whose eval-function returns undef,
 marking that it's not ready yet, expecting results later. 
-$status->rule_ready() must be called later to mark it ready, alternatively
-$status->got_hit() also does this.  If neither is called, then any meta rule
+$status-E<gt>rule_ready() must be called later to mark it ready, alternatively
+$status-E<gt>got_hit() also does this.  If neither is called, then any meta rule
 that depends on this rule might not evaluate.
 
 Optional boolean $no_async skips checking if there are pending async DNS
@@ -3217,12 +3217,12 @@ sub rule_ready {
 
 ###########################################################################
 
-=item $status->test_log ($text [, $rulename])
+=item $status-E<gt>test_log ($text [, $rulename])
 
 Add $text log entry for a hit rule in final message REPORT/SUMMARY.
 
 Usually called just before got_hit(), to describe for example what URI the
-rule matched on.  Optional <$rulename> argument is recommended to make sure
+rule matched on.  Optional C<$rulename> argument is recommended to make sure
 log is written to correct rule.  If rulename is not provided,
 get_current_eval_rule_name() is used as fallback.
 
@@ -3439,7 +3439,7 @@ sub sa_die { Mail::SpamAssassin::sa_die(
 
 ###########################################################################
 
-=item $status->create_fulltext_tmpfile (fulltext_ref)
+=item $status-E<gt>create_fulltext_tmpfile (fulltext_ref)
 
 This function creates a temporary file containing the passed scalar
 reference data.  If no scalar is passed, full/pristine message text is
@@ -3488,9 +3488,9 @@ sub create_fulltext_tmpfile {
   return $tmpf;
 }
 
-=item $status->delete_fulltext_tmpfile (tmpfile)
+=item $status-E<gt>delete_fulltext_tmpfile (tmpfile)
 
-Will cleanup after a $status->create_fulltext_tmpfile() call.  Deletes the
+Will cleanup after a $status-E<gt>create_fulltext_tmpfile() call.  Deletes the
 temporary file and uncaches the filename.  Generally there no need to call
 this, PerMsgStatus destructor cleans up all tmpfiles.
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PersistentAddrList.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PersistentAddrList.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PersistentAddrList.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PersistentAddrList.pm Wed Nov 15 22:05:57 2023
@@ -55,7 +55,7 @@ our @ISA = qw();
 
 ###########################################################################
 
-=item $factory = PersistentAddrListSubclass->new();
+=item $factory = PersistentAddrListSubclass-E<gt>new();
 
 This creates a factory object, which SpamAssassin will call to create
 a new checker object for the persistent address list.
@@ -72,7 +72,7 @@ sub new {
 
 ###########################################################################
 
-=item my $addrlist = $factory->new_checker();
+=item my $addrlist = $factory-E<gt>new_checker();
 
 Create a new address-list checker object from the factory. Called by the
 SpamAssassin classes.
@@ -86,7 +86,7 @@ sub new_checker {
 
 ###########################################################################
 
-=item $entry = $addrlist->get_addr_entry ($addr);
+=item $entry = $addrlist-E<gt>get_addr_entry ($addr);
 
 Given an email address C<$addr>, return an entry object with the details of
 that address.
@@ -115,7 +115,7 @@ sub get_addr_entry {
 
 ###########################################################################
 
-=item $entry = $addrlist->add_score($entry, $score);
+=item $entry = $addrlist-E<gt>add_score($entry, $score);
 
 This method should add the given score to the welcomelist database for the
 given entry, and then return the new entry.
@@ -129,7 +129,7 @@ sub add_score {
 
 ###########################################################################
 
-=item $entry = $addrlist->remove_entry ($entry);
+=item $entry = $addrlist-E<gt>remove_entry ($entry);
 
 This method should remove the given entry from the welcomelist database.
 
@@ -142,7 +142,7 @@ sub remove_entry {
 
 ###########################################################################
 
-=item $entry = $addrlist->finish ();
+=item $entry = $addrlist-E<gt>finish ();
 
 Clean up, if necessary.  Called by SpamAssassin when it has finished
 checking, or adding to, the auto-welcomelist database.

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm Wed Nov 15 22:05:57 2023
@@ -108,7 +108,7 @@ our @ISA = qw();
 
 ###########################################################################
 
-=item $plugin = MyPluginClass->new ($mailsaobject)
+=item $plugin = MyPluginClass-E<gt>new ($mailsaobject)
 
 Constructor.  Plugins that need to register themselves will need to
 define their own; the default super-class constructor will work fine
@@ -149,7 +149,7 @@ sub new {
 # the object and determine if it's capable of calling the method anyway.
 # Nifty!
 
-=item $plugin->parse_config ( { options ... } )
+=item $plugin-E<gt>parse_config ( { options ... } )
 
 Parse a configuration line that hasn't already been handled.  C<options>
 is a reference to a hash containing these options:
@@ -195,7 +195,7 @@ That can be found as C<$plugin-E<gt>{mai
 C<$options> hash reference above.   By storing it on C<conf>, this allows
 per-user and system-wide configuration precedence to be dealt with correctly.
 
-=item $plugin->finish_parsing_start ( { options ... } )
+=item $plugin-E<gt>finish_parsing_start ( { options ... } )
 
 Signals that the system-wide configuration has been completely read,
 but internal data structures are not yet created. It is possible to
@@ -219,7 +219,7 @@ this plugin hook, if you modify the rule
 third-party plugin, all bets are off until such time that an API is
 present for modifying that configuration data.
 
-=item $plugin->finish_parsing_end ( { options ... } )
+=item $plugin-E<gt>finish_parsing_end ( { options ... } )
 
 Signals that the system-wide configuration parsing has just finished, and
 SpamAssassin is nearly ready to check messages.
@@ -241,7 +241,7 @@ this plugin hook, if you modify the rule
 third-party plugin, all bets are off until such time that an API is
 present for modifying that configuration data.
 
-=item $plugin->user_conf_parsing_start ( { options ... } )
+=item $plugin-E<gt>user_conf_parsing_start ( { options ... } )
 
 Signals that the per-user configuration has been completely read, but
 not converted to internal data structures. It is possible to use this
@@ -267,7 +267,7 @@ this plugin hook, if you modify the rule
 third-party plugin, all bets are off until such time that an API is
 present for modifying that configuration data.
 
-=item $plugin->user_conf_parsing_end ( { options ... } )
+=item $plugin-E<gt>user_conf_parsing_end ( { options ... } )
 
 Signals that the per-user configuration parsing has just finished, and
 SpamAssassin is nearly ready to check messages.   If C<allow_user_rules> is
@@ -291,7 +291,7 @@ this plugin hook, if you modify the rule
 third-party plugin, all bets are off until such time that an API is
 present for modifying that configuration data.
 
-=item $plugin->signal_user_changed ( { options ... } )
+=item $plugin-E<gt>signal_user_changed ( { options ... } )
 
 Signals that the current user has changed for a new one.
 
@@ -311,7 +311,7 @@ The new user's storage directory. (equiv
 
 =back
 
-=item $plugin->services_authorized_for_username ( { options ... } )
+=item $plugin-E<gt>services_authorized_for_username ( { options ... } )
 
 Validates that a given username is authorized to use certain services.
 
@@ -344,7 +344,7 @@ data should be stored.
 
 =back
 
-=item $plugin->compile_now_start ( { options ... } )
+=item $plugin-E<gt>compile_now_start ( { options ... } )
 
 This is called at the beginning of Mail::SpamAssassin::compile_now() so
 plugins can do any necessary initialization for multi-process
@@ -362,7 +362,7 @@ The value of $keep_userstate option in c
 
 =back
 
-=item $plugin->compile_now_finish ( { options ... } )
+=item $plugin-E<gt>compile_now_finish ( { options ... } )
 
 This is called at the end of Mail::SpamAssassin::compile_now() so
 plugins can do any necessary initialization for multi-process
@@ -380,7 +380,7 @@ The value of $keep_userstate option in c
 
 =back
 
-=item $plugin->check_start ( { options ... } )
+=item $plugin-E<gt>check_start ( { options ... } )
 
 Signals that a message check operation is starting.
 
@@ -400,7 +400,7 @@ APIs on that object, too.  See C<Mail::S
 
 =back
 
-=item $plugin->check_main ( { options ... } )
+=item $plugin-E<gt>check_main ( { options ... } )
 
 Signals that a message should be checked.  Note that implementations of
 this hook should return C<1>.
@@ -413,7 +413,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_tick ( { options ... } )
+=item $plugin-E<gt>check_tick ( { options ... } )
 
 Called periodically during a message check operation.  A callback set for
 this method is a good place to run through an event loop dealing with
@@ -427,7 +427,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_dnsbl ( { options ... } )
+=item $plugin-E<gt>check_dnsbl ( { options ... } )
 
 Called when DNSBL or other network lookups are being launched, implying
 current running priority of -100.  This is the place to start your own
@@ -441,7 +441,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_post_dnsbl ( { options ... } )
+=item $plugin-E<gt>check_post_dnsbl ( { options ... } )
 
 Called after the DNSBL results have been harvested.  This is a good
 place to harvest your own asynchronously-started network lookups.
@@ -454,7 +454,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_cleanup ( { options ... } )
+=item $plugin-E<gt>check_cleanup ( { options ... } )
 
 Called just before message check is finishing and before possible
 auto-learning.  This is guaranteed to be always called, unlike check_tick
@@ -469,7 +469,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_post_learn ( { options ... } )
+=item $plugin-E<gt>check_post_learn ( { options ... } )
 
 Called after auto-learning may (or may not) have taken place.  If you
 wish to perform additional learning, whether or not auto-learning
@@ -483,7 +483,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->check_end ( { options ... } )
+=item $plugin-E<gt>check_end ( { options ... } )
 
 Signals that a message check operation has just finished, and the
 results are about to be returned to the caller.
@@ -498,7 +498,7 @@ using the public APIs on this object.
 
 =back
 
-=item $plugin->finish_tests ( { options ... } )
+=item $plugin-E<gt>finish_tests ( { options ... } )
 
 Called via C<Mail::SpamAssassin::finish>.  This should clear up any tests that
 a plugin has added to the namespace.
@@ -521,7 +521,7 @@ data should be stored.
 
 See also the C<register_generated_rule_method> helper API, below.
 
-=item $plugin->extract_metadata ( { options ... } )
+=item $plugin-E<gt>extract_metadata ( { options ... } )
 
 Signals that a message is being mined for metadata.  Some plugins may wish
 to add their own metadata as well.
@@ -538,7 +538,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->parsed_metadata ( { options ... } )
+=item $plugin-E<gt>parsed_metadata ( { options ... } )
 
 Signals that a message's metadata has been parsed, and can now be
 accessed by the plugin.
@@ -551,7 +551,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->start_rules ( { options ... } )
+=item $plugin-E<gt>start_rules ( { options ... } )
 
 Called before testing a set of rules of a given type and priority.
 
@@ -571,7 +571,7 @@ The priority level of the rules about to
 
 =back
 
-=item $plugin->hit_rule ( { options ... } )
+=item $plugin-E<gt>hit_rule ( { options ... } )
 
 Called when a rule fires.
 
@@ -595,7 +595,7 @@ The rule's score in the active scoreset.
 
 =back
 
-=item $plugin->ran_rule ( { options ... } )
+=item $plugin-E<gt>ran_rule ( { options ... } )
 
 Called after a rule has been tested, whether or not it fired.  When the
 rule fires, the hit_rule callback is always called before this.
@@ -616,7 +616,7 @@ The name of the rule that was tested.
 
 =back
 
-=item $plugin->autolearn_discriminator ( { options ... } )
+=item $plugin-E<gt>autolearn_discriminator ( { options ... } )
 
 Control whether a just-scanned message should be learned as either
 spam or ham.   This method should return one of C<1> to learn
@@ -631,7 +631,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->autolearn ( { options ... } )
+=item $plugin-E<gt>autolearn ( { options ... } )
 
 Signals that a message is about to be auto-learned as either ham or spam.
 
@@ -647,7 +647,7 @@ C<1> if the message is spam, C<0> if ham
 
 =back
 
-=item $plugin->per_msg_finish ( { options ... } )
+=item $plugin-E<gt>per_msg_finish ( { options ... } )
 
 Signals that a C<Mail::SpamAssassin::PerMsgStatus> object is being
 destroyed, and any per-scan context held on that object by this
@@ -667,7 +667,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 =back
 
 
-=item $plugin->have_shortcircuited ( { options ... } )
+=item $plugin-E<gt>have_shortcircuited ( { options ... } )
 
 Has the current scan operation 'short-circuited'?  In other words, can
 further scanning be skipped, since the message is already definitively
@@ -684,7 +684,7 @@ The C<Mail::SpamAssassin::PerMsgStatus>
 
 =back
 
-=item $plugin->bayes_learn ( { options ... } )
+=item $plugin-E<gt>bayes_learn ( { options ... } )
 
 Called at the end of a bayes learn operation.
 
@@ -709,7 +709,7 @@ are a single string containing the raw t
 backward compatibility by checking to see if the value for a key is a
 reference to a perl HASH, for instance:
 
-if (ref($toksref->{$sometokenkey}) eq 'HASH') {...
+if (ref($toksref-E<gt>{$sometokenkey}) eq 'HASH') {...
 
 If it is, then you are using the old interface, otherwise you are using
 the current interface.
@@ -732,7 +732,7 @@ could not be determined.  In addition, i
 
 =back
 
-=item $plugin->bayes_forget ( { options ... } )
+=item $plugin-E<gt>bayes_forget ( { options ... } )
 
 Called at the end of a bayes forget operation.
 
@@ -755,7 +755,7 @@ Generated message id of the message just
 
 =back
 
-=item $plugin->bayes_scan ( { options ... } )
+=item $plugin-E<gt>bayes_scan ( { options ... } )
 
 Called at the end of a bayes scan operation.  NOTE: Will not be
 called in case of error or if the message is otherwise skipped.
@@ -797,7 +797,7 @@ this message.
 
 =back
 
-=item $plugin->plugin_report ( { options ... } )
+=item $plugin-E<gt>plugin_report ( { options ... } )
 
 Called if the message is to be reported as spam.  If the reporting system is
 available, the variable C<$options-E<gt>{report}-E<gt>report_available}> should
@@ -821,7 +821,7 @@ Reference to the original message object
 
 =back
 
-=item $plugin->plugin_revoke ( { options ... } )
+=item $plugin-E<gt>plugin_revoke ( { options ... } )
 
 Called if the message is to be reported as ham (revokes a spam report). If the
 reporting system is available, the variable
@@ -846,7 +846,7 @@ Reference to the original message object
 
 =back
 
-=item $plugin->welcomelist_address( { options ... } )
+=item $plugin-E<gt>welcomelist_address( { options ... } )
 
 Previously whitelist_address which will work interchangeably until 4.1.
 
@@ -865,7 +865,7 @@ Indicate if the call is being made from
 
 =back
 
-=item $plugin->blocklist_address( { options ... } )
+=item $plugin-E<gt>blocklist_address( { options ... } )
 
 Previously blacklist_address which will work interchangeably until 4.1.
 
@@ -884,7 +884,7 @@ Indicate if the call is being made from
 
 =back
 
-=item $plugin->remove_address( { options ... } )
+=item $plugin-E<gt>remove_address( { options ... } )
 
 Called when a request is made to remove an address to a
 persistent address list.
@@ -901,11 +901,11 @@ Indicate if the call is being made from
 
 =back
 
-=item $plugin->spamd_child_init ()
+=item $plugin-E<gt>spamd_child_init ()
 
 Called in each new child process when it starts up under spamd.
 
-=item $plugin->log_scan_result ( { options ... } )
+=item $plugin-E<gt>log_scan_result ( { options ... } )
 
 Called when spamd has completed scanning a message.  Currently,
 only spamd calls this API.
@@ -919,14 +919,14 @@ at B<https://wiki.apache.org/spamassassi
 
 =back
 
-=item $plugin->spamd_child_post_connection_close ()
+=item $plugin-E<gt>spamd_child_post_connection_close ()
 
 Called when child returns from handling a connection.
 
 If there was an accept failure, the child will die and this code will
 not be called.
 
-=item $plugin->finish ()
+=item $plugin-E<gt>finish ()
 
 Called when the C<Mail::SpamAssassin> object is destroyed.
 
@@ -937,13 +937,13 @@ sub finish {
   %{$self} = ();
 }
 
-=item $plugin->learner_new ()
+=item $plugin-E<gt>learner_new ()
 
 Used to support human-trained probabilistic classifiers like the BAYES_* ruleset.
 Called when a new C<Mail::SpamAssassin::Bayes> object has been created; typically
 when a new user's scan is about to start.
 
-=item $plugin->learn_message ()
+=item $plugin-E<gt>learn_message ()
 
 Train the classifier with a training message.
 
@@ -964,7 +964,7 @@ If it is C<undef>, one will be generated
 
 =back
 
-=item $plugin->forget_message ()
+=item $plugin-E<gt>forget_message ()
 
 Tell the classifier to 'forget' its training about a specific message.
 
@@ -981,7 +981,7 @@ If it is C<undef>, one will be generated
 
 =back
 
-=item $plugin->learner_sync ()
+=item $plugin-E<gt>learner_sync ()
 
 Tell the classifier to 'sync' any pending changes against the current 
 user's training database.  This is called by C<sa-learn --sync>.
@@ -989,7 +989,7 @@ user's training database.  This is calle
 If you do not need to implement these for your classifier, create an
 implementation that just contains C<return 1>.
 
-=item $plugin->learner_expire_old_training ()
+=item $plugin-E<gt>learner_expire_old_training ()
 
 Tell the classifier to perform infrequent, time-consuming cleanup of
 the current user's training database.  This is called by C<sa-learn
@@ -998,12 +998,12 @@ the current user's training database.  T
 If you do not need to implement these for your classifier, create an
 implementation that just contains C<return 1>.
 
-=item $plugin->learner_is_scan_available ()
+=item $plugin-E<gt>learner_is_scan_available ()
 
 Should return 1 if it is possible to use the current user's training data for
 a message-scan operation, or 0 otherwise.
 
-=item $plugin->learner_dump_database ()
+=item $plugin-E<gt>learner_dump_database ()
 
 Dump information about the current user's training data to C<stdout>.
 This is called by C<sa-learn --dump>.
@@ -1025,7 +1025,7 @@ subset of the tokens to dump.
 
 =back
 
-=item $plugin->learner_close ()
+=item $plugin-E<gt>learner_close ()
 
 Close any open databases.
 
@@ -1046,7 +1046,7 @@ to receive specific events, or control t
 
 =over 4
 
-=item $plugin->register_eval_rule ($nameofevalsub, $ruletype)
+=item $plugin-E<gt>register_eval_rule ($nameofevalsub, $ruletype)
 
 Plugins that implement an eval test will need to call this, so that
 SpamAssassin calls into the object when that eval test is encountered.
@@ -1069,7 +1069,7 @@ sub register_eval_rule {
   $self->{main}->{conf}->register_eval_rule ($self, $nameofsub, $ruletype);
 }
 
-=item $plugin->register_generated_rule_method ($nameofsub)
+=item $plugin-E<gt>register_generated_rule_method ($nameofsub)
 
 In certain circumstances, plugins may find it useful to compile
 perl functions from the ruleset, on the fly.  It is important to
@@ -1093,7 +1093,7 @@ sub register_generated_rule_method {
         $nameofsub;
 }
 
-=item $plugin->register_method_priority($methodname, $priority)
+=item $plugin-E<gt>register_method_priority($methodname, $priority)
 
 Indicate that the method named C<$methodname> on the current object
 has a callback priority of C<$priority>.
@@ -1117,7 +1117,7 @@ sub register_method_priority {
   $self->{method_priority}->{$methname} = $pri;
 }
 
-=item $plugin->inhibit_further_callbacks()
+=item $plugin-E<gt>inhibit_further_callbacks()
 
 Tells the plugin handler to inhibit calling into other plugins in the plugin
 chain for the current callback.  Frequently used when parsing configuration
@@ -1145,7 +1145,7 @@ Output a debugging message C<$message>,
 with debugging turned on.
 
 I<NOTE:> This function is not available in the package namespace
-of general plugins and can't be called via $self->dbg().  If a
+of general plugins and can't be called via $self-E<gt>dbg().  If a
 plugin wishes to output debug information, it should call
 C<Mail::SpamAssassin::Plugin::dbg($msg)>.
 
@@ -1155,7 +1155,7 @@ Output an informational message C<$messa
 is running with informational messages turned on.
 
 I<NOTE:> This function is not available in the package namespace
-of general plugins and can't be called via $self->info().  If a
+of general plugins and can't be called via $self-E<gt>info().  If a
 plugin wishes to output debug information, it should call
 C<Mail::SpamAssassin::Plugin::info($msg)>.
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm Wed Nov 15 22:05:57 2023
@@ -159,7 +159,7 @@ delimited by a '-' specifies an IPv4 add
 delimited by a '/' specifies an IPv4 address followed by a bitmask. Again,
 this type of filtering expression is primarily intended with RR type-A
 DNS queries. The rule hits if the RR type matches, and the returned IP
-address falls within the specified range: (r >= n1 && r <= n2), or
+address falls within the specified range: (r E<gt>= n1 && r E<lt>= n2), or
 masked with a bitmask matches the specified value: (r & m) == (n & m) .
 
 As a shorthand notation, a single quad-dotted value is equivalent to

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm Wed Nov 15 22:05:57 2023
@@ -130,7 +130,7 @@ any of: decimal digits, 0x followed by u
 address in quad-dot form. The 'A' records (IPv4 dotted address) as returned
 by DNSBLs lookups are converted into a numerical form (r) and checked against
 the specified sub-test as follows:
-for a range n1-n2 the following must be true: (r >= n1 && r <= n2);
+for a range n1-n2 the following must be true: (r E<gt>= n1 && r E<lt>= n3);
 for a n/m form the following must be true: (r & m) == (n & m);
 for a single value in quad-dot form the following must be true: r == n;
 for a single decimal or hex form the following must be true:
@@ -181,7 +181,7 @@ any of: decimal digits, 0x followed by u
 address in quad-dot form. The 'A' records (IPv4 dotted address) as returned
 by DNSBLs lookups are converted into a numerical form (r) and checked against
 the specified sub-test as follows:
-for a range n1-n2 the following must be true: (r >= n1 && r <= n2);
+for a range n1-n2 the following must be true: (r E<gt>= n1 && r E<lt>= n2);
 for a n/m form the following must be true: (r & m) == (n & m);
 for a single value in quad-dot form the following must be true: r == n;
 for a single decimal or hex form the following must be true:
@@ -221,7 +221,7 @@ Specify a RHSBL-style domain-NS lookup,
 C<NAME_OF_RULE> is the name of the rule to be used, C<rhsbl_zone> is the zone
 to look up domain names in, and C<lookuptype> is the type of lookup (B<TXT> or
 B<A>).  C<subtest> is the sub-test to run against the returned data; see
-<urirhssub>.
+C<urirhssub>.
 
 Note that, as with C<urirhsbl>, you must also define a body-eval rule calling
 C<check_uridnsbl()> to use this.
@@ -246,7 +246,7 @@ Specify a RHSBL-style domain-NS lookup,
 C<NAME_OF_RULE> is the name of the rule to be used, C<rhsbl_zone> is the zone
 to look up domain names in, and C<lookuptype> is the type of lookup (B<TXT> or
 B<A>).  C<subtest> is the sub-test to run against the returned data; see
-<urirhssub>.
+C<urirhssub>.
 
 Note that, as with C<urirhsbl>, you must also define a body-eval rule calling
 C<check_uridnsbl()> to use this.

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDetail.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDetail.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDetail.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDetail.pm Wed Nov 15 22:05:57 2023
@@ -47,7 +47,7 @@ C<cleaned> is a list including the raw U
 versions of the raw URI (http://spamassassin.apache%2Eorg/,
 https://spamassassin.apache.org/).
 
-C<text> is the anchor text(s) (text between <a> and </a>) that
+C<text> is the anchor text(s) (text between E<lt>aE<gt> and E<lt>/aE<gt>) that
 linked to the raw URI.
 
 C<domain> is the domain(s) found in the cleaned URIs, as trimmed to

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URILocalBL.pm Wed Nov 15 22:05:57 2023
@@ -23,7 +23,7 @@ URILocalBL - blocklist URIs using local
 
 This plugin creates some new rule test types, such as "uri_block_cc",
 "uri_block_cidr", and "uri_block_isp".  These rules apply to the URIs
-found in the HTML portion of a message, i.e. <a href=...> markup.
+found in the HTML portion of a message, i.e. E<lt>a href=...E<gt> markup.
 
   loadplugin    Mail::SpamAssassin::Plugin::URILocalBL
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Timeout.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Timeout.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Timeout.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Timeout.pm Wed Nov 15 22:05:57 2023
@@ -65,18 +65,18 @@ our @ISA = qw();
 
 ###########################################################################
 
-=item my $t = Mail::SpamAssassin::Timeout->new({ ... options ... });
+=item my $t = Mail::SpamAssassin::Timeout-E<gt>new({ ... options ... });
 
 Constructor.  Options include:
 
 =over 4
 
-=item secs => $seconds
+=item secs =E<gt> $seconds
 
 time interval, in seconds. Optional; if neither C<secs> nor C<deadline> is
 specified, no timeouts will be applied.
 
-=item deadline => $unix_timestamp
+=item deadline =E<gt> $unix_timestamp
 
 Unix timestamp (seconds since epoch) when a timeout is reached in the latest.
 Optional; if neither B<secs> nor B<deadline> is specified, no timeouts will
@@ -108,7 +108,7 @@ sub new {
 
 ###########################################################################
 
-=item $t->run($coderef)
+=item $t-E<gt>run($coderef)
 
 Run a code reference within the currently-defined timeout.
 
@@ -116,7 +116,7 @@ The timeout is as defined by the B<secs>
 to the constructor.
 
 Returns whatever the subroutine returns, or C<undef> on timeout.
-If the timer times out, C<$t-<gt>timed_out()> will return C<1>.
+If the timer times out, C<$t-E<gt>timed_out()> will return C<1>.
 
 Time elapsed is not cumulative; multiple runs of C<run> will restart the
 timeout from scratch. On the other hand, nested timers do observe outer
@@ -125,9 +125,9 @@ established them, i.e. code running unde
 the time limit established by an outer timer. When restarting an outer
 timer on return, elapsed time of a running code is taken into account.
 
-=item $t->run_and_catch($coderef)
+=item $t-E<gt>run_and_catch($coderef)
 
-Run a code reference, as per C<$t-<gt>run()>, but also catching any
+Run a code reference, as per C<$t-E<gt>run()>, but also catching any
 C<die()> calls within the code reference.
 
 Returns C<undef> if no C<die()> call was executed and C<$@> was unset, or the
@@ -291,7 +291,7 @@ sub _run {      # private
 
 ###########################################################################
 
-=item $t->timed_out()
+=item $t-E<gt>timed_out()
 
 Returns C<1> if the most recent code executed in C<run()> timed out, or
 C<undef> if it did not.
@@ -305,7 +305,7 @@ sub timed_out {
 
 ###########################################################################
 
-=item $t->reset()
+=item $t-E<gt>reset()
 
 If called within a C<run()> code reference, causes the current alarm timer
 to be restored to its original setting (useful after our alarm setting was

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm?rev=1913814&r1=1913813&r2=1913814&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm Wed Nov 15 22:05:57 2023
@@ -388,7 +388,7 @@ if ($^O eq 'freebsd') {
 
 =over 4
 
-=item $f->debug_diagnostics ()
+=item $f-E<gt>debug_diagnostics ()
 
 Output some diagnostic information, useful for debugging SpamAssassin
 problems.