New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unterminated C<...> at perlvar.pod line 188 and 424 #1073
Comments
From rmb1@cise.npl.co.uk % perldoc perlvar This is due to C<@-> and the like. Patch below Robin --- pod/perlvar.pod 2000/01/24 14:28:49 1.1 =item $MULTILINE_MATCHING @@ -421,7 +421,7 @@ Perl Info
|
From @tamiasOn Mon, Jan 24, 2000 at 02:41:44PM +0000, Robin Barker wrote:
Why can't the POD parser be fixed, rather than hacking the POD? POD is Ronald |
From [Unknown Contact. See original ticket]Ronald J Kimball writes:
This is another indication that the idea of allowing -> and => inside Ilya |
From @tamias[CC'ed to pod-people -- doc patch changed C<@-> to C<@-Z<>> to avoid On Mon, Jan 24, 2000 at 03:04:16PM -0500, Ilya Zakharevich wrote:
Ah, so the problem is a choice between C<@-Z<>> and C<$a-E<gt>[0]>, neither I propose a third solution, which I think preserves the simplicity and Code sections (and others, if desired) may begin with one or more The above two examples would become: C<@-> And other examples: C<<{ key => 'value' }>> However, this would be a problem for a code section such as C<<>. In that Ronald |
From [Unknown Contact. See original ticket]Ilya Zakharevich wrote:
Could pod learn a little from perl? Make C<...> work like m<...> by Hm. On second thought: % fgrep 'C|' *.pod | less Ok, how about just C(...) in addition? Or something. Or use Q<C[...]>, Um. Q<C[->]>. Looks like I may have won the battle and lost the war. |
From [Unknown Contact. See original ticket]On Mon, Jan 24, 2000 at 11:28:52PM -0500, Ronald J Kimball wrote:
So why not come up with a patch to the regular expression in Pod::Parser I'm the first one to say how much I dislike having that code inside
Zoinks - I don't care for that at all. I think it is far more limiting and Thats a heckuva lot more accommodating and less restrictive than -- |
From @tamiasOn Mon, Jan 24, 2000 at 10:51:28PM -0600, Brad Appleton wrote:
I'm concerned that someone may find another exception, and then another,
I can understand the desire, perhaps even the need, for it.
This has the drawback of trading simplicity for readibility. I think it
I'm not sure what you mean by "removing the nesting"... Is C<a<b>c> an In that case, under my proposal, C<<a<b>> would be an unterminated code Actually, I think the subtlest problem to my proposal is that someone might Ronald |
From [Unknown Contact. See original ticket]Brad Appleton <bradapp@enteract.com> writes:
Seems like "we" have changed our minds on that one ;-)
Nesting is good. It is particularly natural for HTML/XML back ends. -- |
From @TimToadyRonald J Kimball writes: Seems like we need a better delimiter, like C<>$ref->[0]<> or something. : Actually, I think the subtlest problem to my proposal is that someone might In this approach, that'd be C<><=><> vs C<=> The only thing you wouldn't be able to represent is <>, which unfortunately Alternately, there are actually very few places in all the standard pods Here's a wacky idea. If you say C<>, then the next character after that Actually, here's another interesting idea. Make a rule that if the Unfortunately, this doesn't generalize well to the other letter escapes. But strippable spaces might generalize better if you pick some other C<: $ref->[0] :> etc. There are no occurrences of /\b[a-z]<: / in the standard docs And now we come full circle back to C<< $ref->[0] >> because there are C<< $ref->[0] >> This is POD. This is your brain on POD. Any questions? Larry |
From [Unknown Contact. See original ticket]On Wed, Jan 26, 2000 at 05:01:17PM -0800, Larry Wall wrote:
So is this saying that any whitespace after /[A-Z]<:/ and before the
This is in addition to the above? (and here the whitespace is
I definitely like both of these *LOTS* better then the existing /\b[A-Z]<([<:]\s+)?/ I think I can do that. And it looks SO MUCH NICER than the other If someone makes the appropriate changes to perlpod.pod, I will -- |
From [Unknown Contact. See original ticket]On Tue, Feb 01, 2000 at 12:59:28AM -0600, Brad Appleton wrote:
Okay - here is my attempt at writing up what the changes would be to Even if the doc-change is agreed upon, we still need to decide how many Here is the proposed "spec" after my signature .... *** perlpod.pod.orig Thu Feb 3 16:10:32 2000 |
Migrated from rt.perl.org#2026 (status was 'resolved')
Searchable as RT2026$
The text was updated successfully, but these errors were encountered: