The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

error - Error Objects

SYNOPSIS

  eval {
    die "I'm dead";
  };
  print STDERR $@->message;

DESCRIPTION

Error Objects are automaticly created when die/warn is used.

Object Methods

  • message

    Returns the error message. This includes a full dump of the stack.

AUTHOR

Gerard Goossen <gerard@tty.nl>