Re: detecting running under the repl

2018-11-06 Thread Trey Harris
On Tue, Nov 6, 2018 at 1:24 PM Joseph Brenner doom...@gmail.com wrote: How do you write code that detects whether it's running under the repl? > The variable $*PROGRAM (or $*PROGRAM-NAME; they interpolate identically so I’m giving them raw to say below)—with the c

detecting running under the repl

2018-11-06 Thread Joseph Brenner
How do you write code that detects whether it's running under the repl?

Re: Nesting pod6 formatting codes

2018-11-06 Thread Fernando Santagata
Thank you! BTW, the use of double angle brackets is not documented. On Tue, Nov 6, 2018 at 4:12 PM Will Coleda wrote: > 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

Re: Nesting pod6 formatting codes

2018-11-06 Thread Will Coleda
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 wrote: > > Hi, > > Here: > > https://docs.perl6.org/language/pod#Formatting_codes > > I read this: > >> Form

Nesting pod6 formatting codes

2018-11-06 Thread Fernando Santagata
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