Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make all warnings fatal

  • Loading branch information...
commit ff3bafe31e614f1b6818300c9d83611b4fa2cdc5 1 parent a22b28a
Hinrik Örn Sigurðsson authored
1  Changes
View
@@ -1,5 +1,6 @@
{{$NEXT}}
- Use Dist::Zilla
+ - Make all warnings fatal
0.21 Wed Jun 16 19:36:56 GMT 2010
- Add -U/--update to download latest versions of documents from the web
2  bin/grok
View
@@ -2,7 +2,7 @@
package grok;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use App::Grok;
my $grok = App::Grok->new();
2  lib/App/Grok.pm
View
@@ -1,7 +1,7 @@
package App::Grok;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use App::Grok::Resource::File qw<:ALL>;
use App::Grok::Resource::Functions qw<:ALL>;
use App::Grok::Resource::Spec qw<:ALL>;
2  lib/App/Grok/Common.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Common;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::HomeDir qw<my_data>;
use File::Spec::Functions qw<catdir>;
2  lib/App/Grok/Parser/Pod5.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Parser::Pod5;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Temp qw<tempfile>;
my %formatter = (
2  lib/App/Grok/Parser/Pod6.pm
View
@@ -4,7 +4,7 @@ package App::Grok::Parser::Pod6;
use Perl6::Perldoc::Parser;
use strict;
-use warnings;
+use warnings FATAL => 'all';
sub new {
my ($package, %self) = @_;
2  lib/App/Grok/Resource/File.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Resource::File;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use base qw(Exporter);
our @EXPORT_OK = qw(file_index file_fetch file_locate);
2  lib/App/Grok/Resource/Functions.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Resource::Functions;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::ShareDir qw<dist_dir>;
use File::Spec::Functions qw<catdir catfile splitpath>;
2  lib/App/Grok/Resource/Spec.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Resource::Spec;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use App::Grok::Common qw<data_dir download>;
use File::ShareDir qw<dist_dir>;
use File::Spec::Functions qw<catdir catfile splitpath>;
2  lib/App/Grok/Resource/Tablet.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Resource::Tablet;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use App::Grok::Common qw<data_dir download>;
use File::ShareDir qw<dist_dir>;
use File::Spec::Functions qw<catdir catfile>;
2  lib/App/Grok/Resource/u4x.pm
View
@@ -1,7 +1,7 @@
package App::Grok::Resource::u4x;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use base qw(Exporter);
our @EXPORT_OK = qw(u4x_index u4x_fetch u4x_locate);
2  t/01_compile.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 4;
use Test::Script;
use Pod::Simple ();
2  t/02_source/01_pod5.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 4;
use App::Grok::Parser::Pod5;
2  t/02_source/02_pod6.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 4;
use App::Grok::Parser::Pod6;
2  t/03_opts/01_file.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 6;
2  t/03_opts/02_output.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 14;
2  t/03_opts/03_help.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/03_opts/04_version.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/03_opts/05_no_pager.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/03_opts/06_index.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 6;
2  t/03_opts/07_locate.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/04_targets/01_file.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 1;
2  t/04_targets/02_synopsis.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 4;
2  t/04_targets/03_function.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/04_targets/04_tablet.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
2  t/04_targets/05_failure.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 1;
2  t/04_targets/06_man_page.t
View
@@ -1,5 +1,5 @@
use strict;
-use warnings;
+use warnings FATAL => 'all';
use File::Spec::Functions 'catfile';
use Test::More tests => 2;
Please sign in to comment.
Something went wrong with that request. Please try again.