in reply to Seeing if two numbers have the same sign
sub same_sign{ my($left, $right) =@_; (0 <=> $left) == (0<=> $right); }
@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Seeing if two numbers have the same sign
by WoodyWeaver (Monk) on Jan 10, 2008 at 15:15 UTC | |
by f00li5h (Chaplain) on Jan 10, 2008 at 16:14 UTC | |
Re^2: Seeing if two numbers have the same sign
by shmem (Chancellor) on Jan 10, 2008 at 16:52 UTC |
In Section
Seekers of Perl Wisdom