NAME

Devel::DieHandler::Pwd - Print working directory when program dies

VERSION

This document describes version 0.001 of Devel::DieHandler::Pwd (from Perl distribution Devel-DieHandler-Pwd), released on 2017-01-13.

SYNOPSIS

% perl -MDevel::DieHandler::Pwd -e'...'

DESCRIPTION

When imported, this module installs a __DIE__ handler which prints working directory to STDERR, then calls the previous handler (or die).

Unimporting (via no Devel::DieHandler::Pwd) after importing restores the previous handler.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Devel-DieHandler-Pwd.

SOURCE

Source repository is at https://github.com/perlancar/perl-Devel-DieHandler-Pwd.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-DieHandler-Pwd

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.