At 16:55 13/03/01 -0000, you wrote:
>> Could we write some sort of internal installer process so the
>> instruction
>> to the user would be type 'perl rand_text2.pl configure' and
>> the script
>> then rewrites itself.  Updating #! lines etc, possibly even asking
>
>No, most people using these scripts don't have command line access to the
>servers that they need to install the scripts on. We'd have to do something
>like:
>
>go to http://www.yoursite.com/cgi-bin/randtext2.pl?mode=configure
>
>and then have configure itself online.

Good point!  The script would already have to have the correct shebang in
order for this to work.  Also, we can't necessarily assume that the script
would have write access to the disk (or itself) when it is run through the
web server.

Matt


Reply via email to