diff options
Diffstat (limited to 'lib/Module/Build/Cookbook.pm')
-rw-r--r-- | lib/Module/Build/Cookbook.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Module/Build/Cookbook.pm b/lib/Module/Build/Cookbook.pm index ba721b9a53..7e963b05fd 100644 --- a/lib/Module/Build/Cookbook.pm +++ b/lib/Module/Build/Cookbook.pm @@ -1,4 +1,7 @@ package Module::Build::Cookbook; +use strict; +use vars qw($VERSION); +$VERSION = '0.30'; =head1 NAME @@ -245,7 +248,7 @@ change the order of the entries in that property: # Process pod files first my @e = @{$build->build_elements}; - my $i = grep {$e[$_] eq 'pod'} 0..$#e; + my ($i) = grep {$e[$_] eq 'pod'} 0..$#e; unshift @e, splice @e, $i, 1; Currently, C<build_elements> has the following default value: |