Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Why not just use native Vignette/Tcl code?

by Kanji (Parson)
on Apr 05, 2001 at 20:47 UTC ( [id://70161]=note: print w/replies, xml ) Need Help??


in reply to Re: (crazyinsomniac) Re: text file w/o CGI
in thread text file w/o CGI

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.


Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://70161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found