Nesting pod6 formatting codes

--000000000000d986be0579fd6fc4
Content-Type: text/plain; charset="UTF-8"

Hi,

Here:

https://docs.perl6.org/language/pod#Formatting_codes

I read this:

Formatting codes may nest other formatting codes.
>

but when I try this:

C<$*PERL.compiler.version E<0x3C> v2018.09>

p6doc outputs this:

$*PERL.compiler.version E<0x3C> v2018.09
>

instead of $*PERL.compiler.version < v2018.09

Did I misunderstand the whole nesting thing?
Is there any other way to include a '<' character inside a formatting code?

Thank you!

-- 
Fernando Santagata

--000000000000d986be0579fd6fc4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"color:rgb(=
0,0,0)">Hi,</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)"><b=
r></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)">Here:</div>=
<div class=3D"gmail_default" style=3D"color:rgb(0,0,0)"><br></div><div clas=
s=3D"gmail_default" style=3D"color:rgb(0,0,0)"><a href=3D"https://docs.perl=
6.org/language/pod#Formatting_codes">https://docs.perl6.org/language/pod#Fo=
rmatting_codes</a></div><div class=3D"gmail_default" style=3D"color:rgb(0,0=
,0)"><br></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)">I re=
ad this:</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)"><br><=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=3D"gmail_=
default" style=3D"color:rgb(0,0,0)">Formatting codes may nest other formatt=
ing codes.</div></blockquote><div class=3D"gmail_default" style=3D"color:rg=
b(0,0,0)"><br></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)"=
>but when I try this:</div><div class=3D"gmail_default" style=3D"color:rgb(=
0,0,0)"><br></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0)">C=
&lt;$*PERL.compiler.version E&lt;0x3C&gt; v2018.09&gt;</div><div class=3D"g=
mail_default" style=3D"color:rgb(0,0,0)"><br></div><div class=3D"gmail_defa=
ult" style=3D"color:rgb(0,0,0)">p6doc outputs this:</div><div class=3D"gmai=
l_default" style=3D"color:rgb(0,0,0)"><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div class=3D"gmail_default" style=3D"color:rgb(0,0,=
0)">$*PERL.compiler.version E&lt;0x3C&gt; v2018.09<br clear=3D"all"></div><=
/blockquote></div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><div style=3D=
"color:rgb(0,0,0)" class=3D"gmail_default">instead of $*PERL.compiler.versi=
on &lt; v2018.09</div><br></div><div dir=3D"ltr"><div style=3D"color:rgb(0,=
0,0)" class=3D"gmail_default">Did I misunderstand the whole nesting thing?<=
/div><div style=3D"color:rgb(0,0,0)" class=3D"gmail_default">Is there any o=
ther way to include a &#39;&lt;&#39; character inside a formatting code?<br=
></div></div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><div style=3D"colo=
r:rgb(0,0,0)" class=3D"gmail_default">Thank you!</div><br>-- <br><div dir=
=3D"ltr" class=3D"gmail_signature">Fernando Santagata</div></div></div></di=
v></div></div></div>

--000000000000d986be0579fd6fc4--
0
nando
11/6/2018 11:38:01 AM
perl.perl6.users 1103 articles. 0 followers. Follow

2 Replies
13 Views

Similar Articles

[PageSpeed] 11

You can increase the # of <<'s :

C<<$*PERL.compiler.version < v2018.09>>

Or you can use unicode:

C=C2=AB$*PERL.compiler.version < v2018.09=C2=BB


On Tue, Nov 6, 2018 at 6:38 AM Fernando Santagata
<nando.santagata@gmail.com> wrote:
>
> Hi,
>
> Here:
>
> https://docs.perl6.org/language/pod#Formatting_codes
>
> I read this:
>
>> Formatting codes may nest other formatting codes.
>
>
> but when I try this:
>
> C<$*PERL.compiler.version E<0x3C> v2018.09>
>
> p6doc outputs this:
>
>> $*PERL.compiler.version E<0x3C> v2018.09
>
>
> instead of $*PERL.compiler.version < v2018.09
>
> Did I misunderstand the whole nesting thing?
> Is there any other way to include a '<' character inside a formatting cod=
e?
>
> Thank you!
>
> --
> Fernando Santagata
0
will
11/6/2018 3:12:40 PM
--00000000000054448c057a0182df
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thank you!

BTW, the use of double angle brackets is not documented.

On Tue, Nov 6, 2018 at 4:12 PM Will Coleda <will@coleda.com> wrote:

> You can increase the # of <<'s :
>
> C<<$*PERL.compiler.version < v2018.09>>
>
> Or you can use unicode:
>
> C=C2=AB$*PERL.compiler.version < v2018.09=C2=BB
>
>
> On Tue, Nov 6, 2018 at 6:38 AM Fernando Santagata
> <nando.santagata@gmail.com> wrote:
> >
> > Hi,
> >
> > Here:
> >
> > https://docs.perl6.org/language/pod#Formatting_codes
> >
> > I read this:
> >
> >> Formatting codes may nest other formatting codes.
> >
> >
> > but when I try this:
> >
> > C<$*PERL.compiler.version E<0x3C> v2018.09>
> >
> > p6doc outputs this:
> >
> >> $*PERL.compiler.version E<0x3C> v2018.09
> >
> >
> > instead of $*PERL.compiler.version < v2018.09
> >
> > Did I misunderstand the whole nesting thing?
> > Is there any other way to include a '<' character inside a formatting
> code?
> >
> > Thank you!
> >
> > --
> > Fernando Santagata
>


--=20
Fernando Santagata

--00000000000054448c057a0182df
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"color:#000000">Thank=
 you!</div><div class=3D"gmail_default" style=3D"color:#000000"><br></div><=
div class=3D"gmail_default" style=3D"color:#000000">BTW, the use of double =
angle brackets is not documented.<br></div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr">On Tue, Nov 6, 2018 at 4:12 PM Will Coleda &lt;<a hre=
f=3D"mailto:will@coleda.com">will@coleda.com</a>&gt; wrote:<br></div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">You can increase the # of &lt;&lt;&#39;s :<br>
<br>
C&lt;&lt;$*PERL.compiler.version &lt; v2018.09&gt;&gt;<br>
<br>
Or you can use unicode:<br>
<br>
C=C2=AB$*PERL.compiler.version &lt; v2018.09=C2=BB<br>
<br>
<br>
On Tue, Nov 6, 2018 at 6:38 AM Fernando Santagata<br>
&lt;<a href=3D"mailto:nando.santagata@gmail.com" target=3D"_blank">nando.sa=
ntagata@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Here:<br>
&gt;<br>
&gt; <a href=3D"https://docs.perl6.org/language/pod#Formatting_codes" rel=
=3D"noreferrer" target=3D"_blank">https://docs.perl6.org/language/pod#Forma=
tting_codes</a><br>
&gt;<br>
&gt; I read this:<br>
&gt;<br>
&gt;&gt; Formatting codes may nest other formatting codes.<br>
&gt;<br>
&gt;<br>
&gt; but when I try this:<br>
&gt;<br>
&gt; C&lt;$*PERL.compiler.version E&lt;0x3C&gt; v2018.09&gt;<br>
&gt;<br>
&gt; p6doc outputs this:<br>
&gt;<br>
&gt;&gt; $*PERL.compiler.version E&lt;0x3C&gt; v2018.09<br>
&gt;<br>
&gt;<br>
&gt; instead of $*PERL.compiler.version &lt; v2018.09<br>
&gt;<br>
&gt; Did I misunderstand the whole nesting thing?<br>
&gt; Is there any other way to include a &#39;&lt;&#39; character inside a =
formatting code?<br>
&gt;<br>
&gt; Thank you!<br>
&gt;<br>
&gt; --<br>
&gt; Fernando Santagata<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature" data-smartmail=3D"gmail_signature">Fernando Santagata</div>

--00000000000054448c057a0182df--
0
nando
11/6/2018 4:29:30 PM
Reply: