diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-28 21:04:46 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-04-28 21:04:46 +0000 |
commit | 3aab55d7163723347b8257ce43524b34cae8649a (patch) | |
tree | 2d4279f84c1e34de5f8f6b50d1503e6242d29e2a /lib | |
parent | 7cedd6f8560b8c7374da63bb4d16475819d6c25e (diff) | |
download | perl-3aab55d7163723347b8257ce43524b34cae8649a.tar.gz |
&HUGE_VAL is not defined, it exists.
p4raw-id: //depot/cfgperl@6011
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Math/Complex.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Math/Complex.pm b/lib/Math/Complex.pm index 857b8f85af..4439e56f17 100644 --- a/lib/Math/Complex.pm +++ b/lib/Math/Complex.pm @@ -13,7 +13,7 @@ our($VERSION, @ISA, @EXPORT, %EXPORT_TAGS, $Inf); BEGIN { eval { require POSIX; import POSIX 'HUGE_VAL' }; - if (defined &HUGE_VAL) { + if (exists &HUGE_VAL) { $Inf = sprintf "%g", &HUGE_VAL; } else { my $e = $!; |