develooper Front page | perl.perl5.porters | Postings from March 2000

Re: pod2man incompatibility (was Re: Last question on ptk 800.019)

Thread Previous
From:
Russ Allbery
Date:
March 16, 2000 08:30
Subject:
Re: pod2man incompatibility (was Re: Last question on ptk 800.019)
Message ID:
ylitym514s.fsf@windlord.stanford.edu
M J T Guy <mjtg@cus.cam.ac.uk> writes:

> [ Copied from the ptk list to p5p ]

> Slaven Rezic <eserte@cs.tu-berlin.de> wrote
>> It seems that the command line arguments of pod2man have changed ---
>> it's now --center instead of -center. 

> Do we need this change?   Can't we also provide backward compatibility?

We can certainly provide backward compatibility.  Sarathy, this should
probably go into the released 5.6 if it's not too late.

--- pod2man.PL	2000/03/07 08:08:55	1.0
+++ pod2man.PL	2000/03/16 16:27:16
@@ -55,7 +55,7 @@
 # Parse our options, trying to retain backwards compatibility with pod2man
 # but allowing short forms as well.  --lax is currently ignored.
 my %options;
-Getopt::Long::config ('bundling');
+Getopt::Long::config ('bundling_override');
 GetOptions (\%options, 'section|s=s', 'release|r=s', 'center|c=s',
             'date|d=s', 'fixed=s', 'fixedbold=s', 'fixeditalic=s',
             'fixedbolditalic=s', 'official|o', 'lax|l', 'help|h') or exit 1;

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About