summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-12-09 09:57:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-12-09 09:57:42 +0000
commit3c92c9627796cd16c5fbd7af8565ba482fc80938 (patch)
tree746dca896d11c3045703302889e1aa00ae8435c4 /t
parentd02b64de5f9ba499420a267adddd8f43af075dad (diff)
downloadperl-3c92c9627796cd16c5fbd7af8565ba482fc80938.tar.gz
Fix test to cope with the previous h2ph change.
p4raw-id: //depot/perl@23629
Diffstat (limited to 't')
-rw-r--r--t/lib/h2ph.pht8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/lib/h2ph.pht b/t/lib/h2ph.pht
index e03cbb95eb..7b29896a58 100644
--- a/t/lib/h2ph.pht
+++ b/t/lib/h2ph.pht
@@ -4,13 +4,13 @@ no warnings 'redefine';
unless(defined(&SQUARE)) {
sub SQUARE {
- local($x) = @_;
+ my($x) = @_;
eval q((($x)*($x)));
}
}
unless(defined(&ERROR)) {
eval 'sub ERROR {
- local($x) = @_;
+ my($x) = @_;
eval q( &fprintf( &stderr, \\"%s\\\\n\\", $x->[2][3][0]));
}' unless defined(&ERROR);
}
@@ -19,12 +19,12 @@ unless(defined(&_H2PH_H_)) {
# "$Revision h2ph.h,v 1.0 98/05/04 20:42:14 billy $"
undef(&MAX) if defined(&MAX);
eval 'sub MAX {
- local($a,$b) = @_;
+ my($a,$b) = @_;
eval q((($a) > ($b) ? ($a) : ($b)));
}' unless defined(&MAX);
if(defined(&__SOME_UNIMPORTANT_PROPERTY)) {
eval 'sub MIN {
- local($a,$b) = @_;
+ my($a,$b) = @_;
eval q((($a) < ($b) ? ($a) : ($b)));
}' unless defined(&MIN);
}