- or download this
$ perl -e 'die "with info"'
with info at -e line 1.
$ perl -e 'die "without info\n"'
without info
$
- or download this
$ perl6 -e 'die "with info"'
with info
...
in block <unit> at -e line 1
$
- or download this
$ perl -e 'sub dead { die "with info" } dead()'
with info at -e line 1.
$ perl -e 'sub dead { die "without info\n" } dead()'
without info
$
- or download this
$ perl6 -e 'sub dead { die "with info" }; dead()'
with info
...
in block <unit> at -e line 1
$
- or download this
$ perl -e 'sub drop { dead() } sub dead { die "with info" } drop()'
with info at -e line 1.
...
in block <unit> at -e line 1
$
- or download this
$ perl6 -v
This is Rakudo version 2016.04 built on MoarVM version 2016.04
implementing Perl 6.c.
- or download this
$ perl -v | head -2 | tail -1
This is perl 5, version 26, subversion 0 (v5.26.0) built for darwin-th
+read-multi-2level