Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: (crazyinsomniac) Re: text file w/o CGI

by spunkcell (Initiate)
on Apr 05, 2001 at 05:40 UTC ( [id://69979]=note: print w/replies, xml ) Need Help??


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

Thanks everybody. Great answers. I think the web administrator of the company we are contracting to is trying to be funny. Oh well, I'll try to find another way to get those things to a file. They use Vignette and I was told I could only use PERL without CGI and couldn't access CGI's outside the server. But I need to get these names and emails to a list somehow. Thanks again for the great and fast responses. I may have to learn PERL if the communities are this helpful.
  • Comment on Re: (crazyinsomniac) Re: text file w/o CGI

Replies are listed 'Best First'.
Why not just use native Vignette/Tcl code?
by Kanji (Parson) on Apr 05, 2001 at 20:47 UTC

    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://69979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2024-04-18 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found