Help for this page
return $self->[$position] = $value;
#create a new object
my $x = new Complex;
$x->Imag(-5); #set $x's imaginary part to '-5'
print $x->Real." ".$y->Imag; #prints '3 -3'
"\"\"" => \&Cmp_string,
"+" => \&Cmp_add,
"*" => \&Cmp_multiply;
print $x; #prints '3 - 5I'
my $str = "$x"; #$str = '3 - 5I'
$x = $x + $y;
$y = $x + 2;
$y = 2 + $x;
$y = $x * $x;
$y = $x * 2;
$y = 2 * $x;
#get the object
return new Complex($real, $imag);
#module exit status
The same name on every site (unless it is taken already)
A different name for every site
The same name for sites I don't care about, but different names on sites I do care about
Different names for sites I don't care about, but the same name on sites I do care about
The anonymous account
Someone else's username
Root, after hacking into the site
Results (222 votes),