If you're living in a Vignette enviroment, you can (ab)use perl without doing so via CGI by running it with something like [exec /usr/bin/perl ...] (IIRC), but that's an extremely kludgey solution and bound to give you more grief than is worth.
Why not just use native Vignette and Tcl commands to do what you want? My Vignette/Tcl is a bit rusty, but something along the following lines should work ...
[SET file [open /path/to/my/file.txt a]]
[puts $file "[SHOW name] [SHOW email]"]
(Error checking left as an exercise for the reader. :-)
--k.
|