develooper Front page | perl.beginners | Postings from March 2012

Re: using cmp for if statement comparisons

Thread Previous
From:
Shawn H Corey
Date:
March 14, 2012 05:02
Subject:
Re: using cmp for if statement comparisons
Message ID:
4F6088D5.3070402@gmail.com
On 12-03-14 12:35 AM, John W. Krahn wrote:
> cmp is a binary operator just like eq, ne, gt, lt, ge and le.

See `perldoc perlop` and search for /Equality Operators/


-- 
Just my 0.00000002 million dollars worth,
   Shawn

Programming is as much about organization and communication
as it is about coding.

It's Mutual Aid, not fierce competition, that's the dominate
force of evolution.  Of course, anyone who has worked in
open source already knows this.

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About