NAME

Site::CrashNotify - Send email dumping environment, error, and page args when an error occurs (internal server error)


SYNOPSIS

  use Site::CrashNotify ( to => 'you@yourhost.com', subject => 'It broke!' );


DESCRIPTION

Just 'use' the module and pass at least a 'to' argument in the use list, and a SIGDIE handler will be put in place to send you a notification when something goes wrong. An easy way to test and get a sample message would be like this:

  use Site::CrashNotify ( to => 'you@yourhost.com' );
  print 'fooo'
  print 'jub'

The line terminators are intentionally missing. The script will crash and you should get an email summary at 'you@yourhost.com'.


AUTHOR

Copyright (c) 2001 Steve Slaven <bpk@hoopajoo.net> All rights reserved.

This program is free software and is provided ``as is'' without express or implied warranty. You can redistribute it and/or modify it under the same terms as Perl itself.


SEE ALSO

perl(1).