summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-07-19 17:15:51 -0600
committerRafael Garcia-Suarez <rgs@consttype.org>2010-07-29 12:10:18 +0200
commit270c16a11ea362c8a47be4760177651e703a531f (patch)
tree987947d2294372cab7cd42355172cd6954521747 /ext
parent78fecfc87dc006b17052d2f8cb36c0a881a19ba5 (diff)
downloadperl-270c16a11ea362c8a47be4760177651e703a531f.tar.gz
defsubs_h.PL: Use correct variable in error msg
Diffstat (limited to 'ext')
-rw-r--r--ext/B/defsubs_h.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL
index 684ca26fb0..98a3e8b3bb 100644
--- a/ext/B/defsubs_h.PL
+++ b/ext/B/defsubs_h.PL
@@ -7,7 +7,7 @@ my (undef, $headerpath) = @ARGV;
my ($out) = __FILE__ =~ /(^.*)\.PL/i;
$out =~ s/_h$/.h/;
unlink $out if -l $out;
-open(OUT,">$out") || die "Cannot open $file:$!";
+open(OUT,">$out") || die "Cannot open $out:$!";
print "Extracting $out...\n";
print OUT <<"END";
/*