summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAdrian M. Enache <enache@rdslink.ro>2003-03-05 14:06:20 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-03-06 20:45:08 +0000
commit842517601b969821600597cc5736114bee3b0c27 (patch)
tree16a252ad5301ef7cd4422bca12280c0387913c5c /ext
parente69880a56d80785fbe5600b4e7dabf583188c526 (diff)
downloadperl-842517601b969821600597cc5736114bee3b0c27.tar.gz
cleaning up tests of the 'eval { decl. } <=> runtime decl.' assumption
Message-ID: <20030305100620.GA909@ratsnest.hole> p4raw-id: //depot/perl@18840
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/t/sigaction.t2
-rw-r--r--ext/POSIX/t/waitpid.t4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/POSIX/t/sigaction.t b/ext/POSIX/t/sigaction.t
index d280d686b9..63ff17dae3 100644
--- a/ext/POSIX/t/sigaction.t
+++ b/ext/POSIX/t/sigaction.t
@@ -8,7 +8,7 @@ BEGIN {
BEGIN{
# Don't do anything if POSIX is missing, or sigaction missing.
use Config;
- eval { use POSIX; };
+ eval 'use POSIX';
if($@ || $^O eq 'MSWin32' || $^O eq 'NetWare' || $^O eq 'dos' ||
$^O eq 'MacOS' || ($^O eq 'VMS' && !$Config{'d_sigaction'})) {
print "1..0\n";
diff --git a/ext/POSIX/t/waitpid.t b/ext/POSIX/t/waitpid.t
index e1633712e6..c36a611bfc 100644
--- a/ext/POSIX/t/waitpid.t
+++ b/ext/POSIX/t/waitpid.t
@@ -9,12 +9,12 @@ BEGIN {
print "1..0 # Skip: no fork\n";
exit 0;
}
- eval { use POSIX qw(sys_wait_h) };
+ eval 'use POSIX qw(sys_wait_h)';
if ($@) {
print "1..0 # Skip: no POSIX sys_wait_h\n";
exit 0;
}
- eval { use Time::HiRes qw(time) };
+ eval 'use Time::HiRes qw(time)';
if ($@) {
print "1..0 # Skip: no Time::HiRes\n";
exit 0;