in reply to Re: [Perl 6]: Small discoveries VI, die
in thread [Perl 6]: Small discoveries VI, die
Assuming the version number refers to a date (YYYY.MM), it looks like my copy of Perl6 is about 18 months old: perhaps the behaviour you describe is new.Yes, the version number refers to the date (year and month).
With the latest available version of Rakudo Star / Perl 6:
I obtain exactly the same results as yours, with the presence or absence of a new line apparently making no difference to the output; and with the subroutine call stack in the output when die is called from a subroutine.This is Rakudo version 2017.07 built on MoarVM version 2017.07 implementing Perl 6.c.
I may also have missed holli's point, but I can't see a difference.
And the documentation (https://docs.perl6.org/routine/die) says nothing on that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: [Perl 6]: Small discoveries VI, die
by holli (Abbot) on Oct 22, 2017 at 16:50 UTC | |
by Laurent_R (Canon) on Oct 22, 2017 at 20:32 UTC | |
|
Re^3: [Perl 6]: Small discoveries VI, die
by kcott (Archbishop) on Oct 23, 2017 at 01:17 UTC |