Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'sub {die}'
    
  2. or download this
    $ perl -e '$sub = sub {die}; $sub->();'
    Died at -e line 1.
    $ echo $?
    255
    $
    
  3. or download this
    use strict;
    use warnings;
    ...
    my $value = shift;
    toDieFor($value) if $value > 10;
    print qq{Normal termination\n};
    
  4. or download this
    $ spw638035 3
    Normal termination
    ...
    $ echo $?
    255
    $