Sent via Deja.com http://www.deja.com/
Before you buy.
Well, PerlScript is an ActiveX Scripting Engine written for an ActiveX
Scripting Host while Perl is "command-line"-Perl and also the
foundation of the ActiveX Scripting Engine. PerlScript will "hook" into
the scripting host and use its object model while Perl is independent
of such implementations. It's basically about picking the right tool
for the right environment. For example, command-line Perl can not be
used as a scripting engine with the Active Server Pages, thus
PerlScript is the necessary implementation.
> Also, security with perlscript is another matter...can someone with a
> perlscript on their page wipe my disk drive?
From the description of this forum, I understand that it is PerlScript
with Active Server Pages, and in that instance the answer is "no".
PerlScript with ASP works on the server-side. I have not worked with
client-side PerlScript since I don't see it is an absolute solution for
Internet applications.
> Can perlscript read and write to files on a user's
> computer or a host's computer?
On a host's computer(server), and with server-side PerlScript, it can
be used to write files on the server. In the same manner, all other
ActiveX Scripting Engines such as VBScript can use the FileSystemObject
for the same purpose. However, it will never happen unless the script
was written to write the files. Server-side PerlScript can neither read
nor write anything on a client's computer.
> What about a visual interface( buttons, text fields, etc...) like
> java and javascript, does perlscript allow those? Are programming
> them easy? There are many questions that need to be addressed.
Buttons and textfields are created with HTML. It is not generated with
PerlScript. Java provides its GUI as a part of the language and then
require a virtual machine by the client-browser to run. PerlScript does
not require anything by the client, and as an ActiveX Scripting Engine
it does not provide any client-type interfaces although you can pop up
message-boxes on the server-side, if you wish. Would you be building a
command-line Perl application, there are modules such as Tk and
Win32::GUI to provide different styles of buttons and such for Windows-
development, but it does not regard PerlScript since PerlScript works
with ActiveX Scripting Hosts.
--
Tobias