From 1001cbba7b16ccc4611bbee0474264bb551d1ea5 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 1 Sep 2012 23:43:00 +0200 Subject: Bug 787529: Use |use 5.10.1| everywhere r=wicked a=LpSolit --- docs/lib/Pod/Simple/HTML/Bugzilla.pm | 2 ++ docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm | 2 ++ docs/makedocs.pl | 8 +++++--- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/lib/Pod/Simple/HTML/Bugzilla.pm b/docs/lib/Pod/Simple/HTML/Bugzilla.pm index cc607be7c..4a1517671 100644 --- a/docs/lib/Pod/Simple/HTML/Bugzilla.pm +++ b/docs/lib/Pod/Simple/HTML/Bugzilla.pm @@ -7,7 +7,9 @@ package Pod::Simple::HTML::Bugzilla; +use 5.10.1; use strict; + use base qw(Pod::Simple::HTML); # Without this constant, HTMLBatch will throw undef warnings. diff --git a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm index 366ceb7a0..52a09910f 100644 --- a/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm +++ b/docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm @@ -7,7 +7,9 @@ package Pod::Simple::HTMLBatch::Bugzilla; +use 5.10.1; use strict; + use base qw(Pod::Simple::HTMLBatch); # This is the same hack that HTMLBatch does to "import" this subroutine. diff --git a/docs/makedocs.pl b/docs/makedocs.pl index 4bf1fb4a0..ea08d8258 100755 --- a/docs/makedocs.pl +++ b/docs/makedocs.pl @@ -8,7 +8,9 @@ # This script compiles all the documentation. +use 5.10.1; use strict; + use Cwd; # We need to be in this directory to use our libraries. @@ -87,8 +89,8 @@ sub MakeDocs { my ($name, $cmdline) = @_; - print "Creating $name documentation ...\n" if defined $name; - print "$cmdline\n\n"; + say "Creating $name documentation ..." if defined $name; + say "$cmdline\n"; system $cmdline; print "\n"; @@ -96,7 +98,7 @@ sub MakeDocs { sub make_pod { - print "Creating API documentation...\n"; + say "Creating API documentation..."; my $converter = Pod::Simple::HTMLBatch::Bugzilla->new; # Don't output progress information. -- cgit v1.2.3-24-g4f1b