[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: [ID 20000124.002] Unterminated C<...> at perlvar.pod line 188 and 424



On Mon, Jan 24, 2000 at 02:41:44PM +0000, Robin Barker wrote:

> 	% perldoc perlvar
> gives
> 	** Unterminated C<...> at .../pod/perlvar.pod line 188
> 	** Unterminated C<...> at .../pod/perlvar.pod line 188
> 	** Unterminated C<...> at .../pod/perlvar.pod line 424
> 
> This is due to C<@-> and the like.
> 
> Patch below
> 

> -C<$#->, the last I<matched> subgroup.  Compare with C<@->.
> +C<$#-Z<>>, the last I<matched> subgroup.  Compare with C<@-Z<>>.

> -C<substr $_, $-[$#-], $+[$#-]>.  One can use C<$#-> to find the last
> +C<substr $_, $-[$#-], $+[$#-]>.  One can use C<$#-Z<>> to find the last

Why can't the POD parser be fixed, rather than hacking the POD?  POD is
supposed to be readable; C<@-Z<>> and C<$#-Z<>> are not readable.

Ronald


Follow-Ups from:
Ilya Zakharevich <ilya@math.ohio-state.edu>
References to:
Robin Barker <rmb1@cise.npl.co.uk>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]