Devel::DieHandler::Pwd - Print working directory when program dies
This document describes version 0.001 of Devel::DieHandler::Pwd (from Perl distribution Devel-DieHandler-Pwd), released on 2017-01-13.
% perl -MDevel::DieHandler::Pwd -e'...'
When imported, this module installs a __DIE__ handler which prints working directory to STDERR, then calls the previous handler (or die).
__DIE__
Unimporting (via no Devel::DieHandler::Pwd) after importing restores the previous handler.
no Devel::DieHandler::Pwd
Please visit the project's homepage at https://metacpan.org/release/Devel-DieHandler-Pwd.
Source repository is at https://github.com/perlancar/perl-Devel-DieHandler-Pwd.
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.
perlancar <perlancar@cpan.org>
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.
To install Devel::DieHandler::Pwd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::DieHandler::Pwd
CPAN shell
perl -MCPAN -e shell install Devel::DieHandler::Pwd
For more information on module installation, please visit the detailed CPAN module installation guide.