Help for this page

Select Code to Download


  1. or download this
    $SIG{__DIE__} = sub { print "Died with message '$_[0]'\n"; };
    open(NOFILE, '/no/file/here') or die "Ooops: $!";
    
  2. or download this
    Died with message 'Ooops: No such file or directory at /home/stephen/t
    +est.pl line 2.
    '