Comparisons in Perl
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 4601
Total Votes: 37 votes
Category: Perl & CGI/Getting Started
Submitted on: 2008-03-16 00:58:07
Submitted By: Devesh Khanna
Description:This tutorial shows how to use simple comparisons and regular expressions in Perl. Almost everything we put in an ‘if’ expression is going to be comparing a variable with a value, or a variable with another variable. In Perl, we have to keep our numeric comparisons separate from our text comparisons. More detail...