| Ticket UUID: | 1608820 | |||
| Title: | Doc update for ncgi - examples needed | |||
| Type: | Patch | Version: | None | |
| Submitter: | tallniel | Created on: | 2006-12-04 22:35:40 | |
| Subsystem: | ncgi | Assigned To: | andreas_kupries | |
| Priority: | 4 | Severity: | ||
| Status: | Open | Last Modified: | 2006-12-04 22:35:40 | |
| Resolution: | None | Closed By: | ||
| Closed on: | ||||
| Description: |
A request on comp.lang.tcl revealed a lack of examples for basic usage of ncgi. Here's the basic example I replied with, but we probably need some others: #!/usr/bin/env tclsh package require ncgi ncgi::parse set pattern [ncgi::value vars "*"] puts "Content-Type: text/plain\n" puts "Environment Variables matching: $pattern" parray ::env $pattern | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki