Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
String comperison operator: gt (greater than) : Compare « String « Perl
Perl
String
Compare
String comperison operator: gt (greater than)
#!/usr/bin/perl -w print
"dog"
gt
"cat"
,
"\n"
;
Related examples in the same category
1.
Compare two words with cmp
2.
Comparing Strings
3.
String comperison operator: cmp
4.
String comperison operator: equal
5.
String comperison operator: lt (less than)
6.
The correct use of three of the operators: eq, it, and gt.
7.
A very simple password checker.
8.
Check password