Changes

From SME Server
Jump to navigationJump to search
185 bytes added ,  17:39, 28 December 2013
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 ) {
 
         ...
 
         ...
 
         }
 
         }

Navigation menu