Help for this page

Select Code to Download


  1. or download this
     Using a colon ":" instead of the equals sign indicates that the
    option value is optional. In this case, if no suitable value is 
    supplied, string valued options get an empty string '' assigned, while
    + 
    numeric options are set to 0.
    
  2. or download this
    use strict;
    use warnings;
    ...
    foreach (@ARGV) {
      print "$_\n";
    }