Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'die "with info"'
    with info at -e line 1.
    $ perl -e 'die "without info\n"'
    without info
    $
    
  2. or download this
    $ perl6 -e 'die "with info"'
    with info
    ...
      in block <unit> at -e line 1
    
    $
    
  3. 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
    $
    
  4. or download this
    $ perl6 -e 'sub dead { die "with info" }; dead()'
    with info
    ...
      in block <unit> at -e line 1
    
    $
    
  5. 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
    
    $
    
  6. or download this
    $ perl6 -v
    This is Rakudo version 2016.04 built on MoarVM version 2016.04
    implementing Perl 6.c.
    
  7. 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