[PATCH] Fix broken POD in Siesta.pm

[prev] [thread] [next] [lurker] [Date index for 2003/10/16]

From: Ilya Martynov
Subject: [PATCH] Fix broken POD in Siesta.pm
Date: 16:00 on 16 Oct 2003
When listing available methods Siesta.pm sometimes uses =item without
=over. Actually it seems it should be using =head2 instead. Patch
which fixes POD is below my signature.

-- 
Ilya Martynov,  ilya@xxxxxxx.xxx
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

diff -ru siesta-20031016-1418-orig/lib/Siesta.pm siesta-20031016-1418/lib/Siesta.pm
--- siesta-20031016-1418-orig/lib/Siesta.pm	Thu Oct 16 18:46:08 2003
+++ siesta-20031016-1418/lib/Siesta.pm	Thu Oct 16 18:47:56 2003
@@ -66,7 +66,7 @@
 
 my $sender;
 
-=item ->sender
+=head2 ->sender
 
 Return the current sender.
 
@@ -80,7 +80,7 @@
     $sender || Siesta->set_sender('Sendmail');
 }
 
-=item ->set_sender ($class, @options)
+=head2 ->set_sender ($class, @options)
 
 Set the current sender to the given class.
 This will pass on any options you give it automatically.
@@ -98,7 +98,7 @@
     $sender = $class->new(@_);
 }
 
-=item ->log ($message, $level)
+=head2 ->log ($message, $level)
 
 Log message as long as level is below the value set in
 I<$Siesta::Config::LOG_LEVEL>;
@@ -129,7 +129,7 @@
 }
 
 
-=item ->available_plugins
+=head2 ->available_plugins
 
 Return the name of every plugin on the system.
 

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52