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

Re: [ID 20000316.015] Problem in pod2text

Thread Previous | Thread Next
From:
JVromans
Date:
March 17, 2000 00:15
Subject:
Re: [ID 20000316.015] Problem in pod2text
Message ID:
14545.57330.869639.545186@phoenix.squirrel.nl
[Quoting Wolfgang Laun, on March 17 2000, 07:36, in "Re: [ID 20000316.015"]
>    GetOptions (\%options, 'alt|a', 'color|c', 'help|h', 'indent|i=i',
>                'loose|l', 'sentence|s', 'termcap!', 't', 'width|w=i') or exit
> 1;
>    $options{termcap} ||= $options{t};
> 
> (It would not handle pod2text -t --notermcap in the usual way but it might
> not be worth the extra effort of covering that, too.)

   GetOptions (\%options, 'alt|a', 'color|c', 'help|h', 'indent|i=i',
               'loose|l', 'sentence|s', 'termcap!',
	       't' => $options{termcap}, 'width|w=i') or exit 1;

-- Johan

Thread Previous | Thread Next


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