Help for this page

Select Code to Download


  1. or download this
        # Derive the template's filename from all characters in the
        # requested URI
    ...
            # Write some code to generate a list of users on the site and
            # set some template parameters
        }
    
  2. or download this
    if ($template->query(name => 'temperature' or $template->query(name =>
    + 'cloud_cover') {
       # The code to find out what the weather is like goes here
    }
    
  3. or download this
    my %param= map($_ => 1) $template->query();
    
    if (exists $param{'temperature'} or exists $param{'cloud_cover'}) {
        # The weather code goes here
    }