Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schwern/carp-fix-1_25
Carp::Fix::1_25 - Smooth over incompatible changes in Carp 1.25
https://github.com/schwern/carp-fix-1_25
Last synced: about 1 month ago
JSON representation
Carp::Fix::1_25 - Smooth over incompatible changes in Carp 1.25
- Host: GitHub
- URL: https://github.com/schwern/carp-fix-1_25
- Owner: schwern
- License: other
- Created: 2012-06-15T15:05:48.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-15T19:37:57.000Z (over 12 years ago)
- Last Synced: 2024-10-29T20:11:00.774Z (2 months ago)
- Language: Perl
- Size: 166 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
NAME
Carp::Fix::1_25 - Smooth over incompatible changes in Carp 1.25SYNOPSIS
use Carp::Fix::1_25;carp "This will have a period at the end, like die";
croak "No matter what version of Carp you have installed";DESCRIPTION
Carp 1.25 made a change to its formatting, adding a period at the end of
the message. This can mess up tests and code that are looking for error
messages. Carp::Fix::1_25 makes the message consistent, regardless of
what version of Carp you're using.Carp::Fix::1_25 exports its own carp functions which change the Carp
message to match the 1.25 version. Carp::Fix::1_25 otherwise acts
exactly like Carp and it will honor Carp global variables such as
`@CARP_NOT' and `%Carp::Internal'.Why do this instead of just upgrading Carp? Upgrading Carp would affect
all installed code all at once. You might not be ready for that, or you
might not want your module to foist that on its users. This lets you fix
things one namespace at a time.KNOWN BUGS
The Carp which comes with 5.6.x does not have the necessary features to
support this wrapper.COPYRIGHT
Copyright 2012 by Michael G Schwern pobox.com>.This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.See http://dev.perl.org/licenses/artistic.html
BUGS, ISSUES and FEEDBACK
Please report any bugs, issues, feedback, annoyances or kudos to
http://github.com/schwern/Carp-Fix-1_25/issues. Don't worry if you don't
have a fix. Don't worry if you don't have all the information. Don't
worry if you don't know if it's a bug. We want to hear from you.Report early, report often.
Source code repository at http://github.com/schwern/Carp-Fix-1_25/
SEE ALSO
Carp