Changes

Jump to navigation Jump to search
91 bytes added ,  17:30, 28 December 2013
Line 49: Line 49:  
     use warnings;
 
     use warnings;
   −
The two additional lines request from perl to catch various common problems in your code. They check different things so you need both. A potential problem caught by use strict; will cause your code to stop immediately when it is encountered, while use warnings; will merely give a warning (like the command-line switch -w) and let your code run. To read more about them check their respective manual pages at strict and warnings.
+
The two additional lines request from perl to catch various common problems in your code. They check different things so you need both. A potential problem caught by '''use strict;''' will cause your code to stop immediately when it is encountered, while '''use warnings;''' will merely give a warning (like the command-line switch -w) and let your code run. To read more about them check their respective manual pages at [http://perldoc.perl.org/strict.html strict] and [http://perldoc.perl.org/warnings.html warnings].
 +
 
 
=== Basic syntax overview ===
 
=== Basic syntax overview ===
  

Navigation menu