Quantcast
Channel: Source.kohlerville.com » perl
Viewing all articles
Browse latest Browse all 3

Perl day 2: if statements

$
0
0

The if statements that I’ve seen in perl seem to be pretty much the standard. It looks like the standard kind that I’ve used in java. Today’s link is the perl – if statement syntax webpage.

We got our basic if then a boolean expression in parenthesis and then the statements that will run that satisfy it.

$a = 2;

if ($a == 2) {
print "true\n";
}


Viewing all articles
Browse latest Browse all 3

Trending Articles