Perl Studio for Windows 95/98/2000/NT
Perl Studio ..... Help Information
Perl Studio for Windows Online Help File
Perl Studio Database Report Tools Online Help File
SQL DBI Online Help File
MySQL Online Help File
Perl Core Function/Modules Help File
To create a perl script in Perl Studio for Windows:
- Open an html web page with a form in Perl Studio for Windows.
- Add, delete or modify the form input tags in your web page.
- Then press the Script button on the toolbar to automatically generate a perl script file to process your form.
- After Perl Studio for Windows has generated your perl script file, upload your perl script file to your web server and set the correct file permissions
on the perl script. (chmod 755)
- Change the form action field in your web page to point to the perl script that is processing your form and test your form.
If you want to run perl scripts in Perl Studio for Windows, we recommend that you download
ActivePerl from Activestate for the perl win32 interpreter. To use MySQL
with Perl Studio for Windows you should also download the DBI and DBD-MySQL (or DBD-ODBC)
package from the above site.
To run perl scripts that connect to the DBI driver using MySQL you will need to download and install MySQL for Windows from
the MySQL-Win32 download page.
After you have installed ActivePerl from ActiveState you can
press the Run button on the toolbar to have the perl interpreter invoked to run your perl script. Perl Studio will display the output of your script in a new browser window.
If you have errors in your script the perl interpreter will tell you what lines in your script are causing the errors.
If you have ActivePerl from Activestate for the perl win32 interpreter and MySQL-Win32
installed on your Windows 95/98/NT machine then you can run perl scripts that
SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER MySQL databases on your Windows machine.
To use the MySQL database server on your Windows computer you need to enter the commands to start and stop the MySQL daemon sever.
Select the MySQL properties in Perl Studio for Windows SQL menu selection and enter the commands to start and stop the MySQL daemon.
Starting the MySQL daemon server using the shareware version of MySQL-Win32:
C:\mysql\bin\mysqld-shareware
Starting the MySQL daemon server using the licensed version of MySQL-Win32:
C:\mysql\bin\mysqld-opt
Stopping the MySQL daemon server using the MySQL licensed and shareware version of MySQL-Win32
C:\mysql\bin\mysqladmin -u root shutdown
|