Skip to content
Browse files

improve error report location

  • Loading branch information...
1 parent f2a37e8 commit a7f32a34da7df2b8d0671bd89302add904055e73 @rjbs committed Sep 4, 2010
Showing with 14 additions and 6 deletions.
  1. +3 −0 Changes
  2. +2 −2 lib/Config/INI.pm
  3. +4 −2 lib/Config/INI/Reader.pm
  4. +5 −2 lib/Config/INI/Writer.pm
View
3 Changes
@@ -1,5 +1,8 @@
Changelog for Config-INI
+0.016 2010-09-04
+ add Mixin::Linewise to CARP_NOT -- better reporting of error location
+
0.015 2010-08-22
documentation improvements (thanks, castaway)
View
4 lib/Config/INI.pm
@@ -8,11 +8,11 @@ Config::INI - simple .ini-file format
=head1 VERSION
-version 0.015
+version 0.016
=cut
-$Config::INI::VERSION = '0.015';
+$Config::INI::VERSION = '0.016';
=head1 SYNOPSIS
View
6 lib/Config/INI/Reader.pm
@@ -9,11 +9,11 @@ Config::INI::Reader - a subclassable .ini-file parser
=head1 VERSION
-version 0.015
+version 0.016
=cut
-our $VERSION = '0.015';
+our $VERSION = '0.016';
=head1 SYNOPSIS
@@ -64,6 +64,8 @@ use Carp ();
use IO::File;
use IO::String;
+our @CARP_NOT = qw(Mixin::Linewise::Readers);
+
=head1 METHODS FOR READING CONFIG
These methods are all that most users will need: they read configuration from a
View
7 lib/Config/INI/Writer.pm
@@ -3,17 +3,20 @@ use warnings;
package Config::INI::Writer;
use Mixin::Linewise::Writers;
+use Carp ();
+our @CARP_NOT = qw(Mixin::Linewise::Writers);
+
=head1 NAME
Config::INI::Writer - a subclassable .ini-file emitter
=head1 VERSION
-version 0.015
+version 0.016
=cut
-our $VERSION = '0.015';
+our $VERSION = '0.016';
=head1 SYNOPSIS

0 comments on commit a7f32a3

Please sign in to comment.
Something went wrong with that request. Please try again.