in reply to Compare two signed integers without using comparision operator in perl

Explain what it is you're trying to do. Very often, developers come to Perl from another language and they know how to do what they want to do, in that other language. While Perl often supports a multitude of ways to do something, some ways are often more appropriate than others. Without knowing what you're trying to accomplish, we can't tell you if, for example, there is a module that does the entirety of what you're trying to do, plus more. (That's happened to me more than once ...)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Compare two signed integers without using comparision operator in perl

Replies are listed 'Best First'.
Re: Re: Compare two signed integers without using comparision operator in perl
by Elian (Parson) on May 06, 2003 at 21:30 UTC
    Explain what it is you're trying to do.
    If I had to guess, I'd say "Get someone else to do my homework."

    But, then, maybe I'm too cynical.