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

Re: [ID 20000316.015] Problem in pod2text

Thread Previous | Thread Next
From:
Wolfgang Laun
Date:
March 17, 2000 00:27
Subject:
Re: [ID 20000316.015] Problem in pod2text
Message ID:
38D1EBD7.A7431E6@alcatel.at
Johan Vromans wrote:

> [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;
>

 ... 't' => \$options{termcap},...

Cute.
-W


>
> -- 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