Line 238:
Line 238:
==== if ====
==== if ====
−
if ( condition ) {
+
[http://perldoc.perl.org/functions/if.html if] ( condition ) {
...
...
−
} elsif ( other condition ) {
+
} [http://perldoc.perl.org/functions/elsif.html elsif] ( other condition ) {
...
...
−
} else {
+
} [http://perldoc.perl.org/functions/else.html else] {
...
...
}
}
Line 248:
Line 248:
There's also a negated version of it:
There's also a negated version of it:
−
unless ( condition ) {
+
[http://perldoc.perl.org/functions/unless.html unless] ( condition ) {
...
...
}
}