Help for this page

Select Code to Download


  1. or download this
    sub help{
       print "Whatever youd like to write\n";
    ...
    }
    
    die &help unless scalar(@ARGV) == 1;
    
  2. or download this
    
    use strict;
    ...
    GetOptions("foo=s" => \$var) and defined($var) or die &usage;
    
    print "You typed: $var\n";