You can increase the # of <<'s :

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

Or you can use unicode:

C«$*PERL.compiler.version < v2018.09»


On Tue, Nov 6, 2018 at 6:38 AM Fernando Santagata
<nando.santag...@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

Reply via email to