Help for this page

Select Code to Download


  1. or download this
        ;; # A comment preceded by two null statements ... why?
    
  2. or download this
    while (condition) {
        ...
    ...
            print "Error message\n";
        }
    }
    
  3. or download this
    while (condition) {
        ...
    ...
        of
        code
    }
    
  4. or download this
    if (condition) {
       some code that
    ...
    else {
       code you do at other times
    }
    
  5. or download this
    if (condition) {
       some code that
    ...
    }
    # Now that we have the special cases out of the way...
    code you do at other times
    
  6. or download this
    #!/usr/bin/perl
    # IBM Message Queue Reader
    ...
    sub LOG {
        print (localtime) . " - " . $msg . ".\n";
    }