Dual-license your content for inclusion in The Perl 5 Wiki using this HOWTO, or join us for a chat on irc.freenode.net#PerlNet.

User:PJF/Sandbox

From PerlNet

Jump to: navigation, search

Contents

autodie::exception API notes

Basic methods

  • sub - The subroutine doing the dying (including its package?)
  • args - Arguments passed to the dying sub.
  • caller - What called the dying subroutine (including package?)
  • package - Package of the caller. Do we need this if it's included in caller?
  • file - File of the caller.
  • line - Line of the caller.

Roles

Errno

  • errno - $! at the time of failure

File

  • filename - The filename in question (eg, for open, etc)

System

  • command - The command requested
  • child_error - Raw $?
  • exitval - Actual exit value.
  • signal - Signal name
  • signal_no - Signal number
  • core - Dumped core boolean
Personal tools