From: Nicholas Clark Date: Thu, 24 Sep 2009 18:02:52 +0000 (+0100) Subject: Fix a22f28a4268aa03c - array, not array reference. (gnat would be proud) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ebbb719ba6d72169043d2d8e55e6c70c19f8a47c;p=p5sagit%2Fp5-mst-13.2.git Fix a22f28a4268aa03c - array, not array reference. (gnat would be proud) Just because it's syntactically valid and "works on my machine", er OS, doesn't mean that it's bug free, even after careful inspection. --- diff --git a/make_ext.pl b/make_ext.pl index 0fe892f..e606c36 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -116,7 +116,7 @@ foreach (@extspec) { my $makecmd = shift @pass_through; # Should be something like MAKE=make unshift @pass_through, 'PERL_CORE=1'; -my @dirs = $opts{dir} || ['ext', 'cpan']; +my @dirs = @{$opts{dir} || ['ext', 'cpan']}; my $target = $opts{target}[0]; $target = 'all' unless defined $target;