programming-examples/perl/SystemFunction/Compare complex number.pl

7 lines
121 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
use Math::Complex;
$c1 = Math::Complex->new(1,1);
$c2 = Math::Complex->new(2,2);
print "$c2 > $c1" if $c2 > $c1;