EngInSite Perl Editor - FAQ
- Which Perl distribution should I
use?
EngInSite Perl Editor needs a properly configured Perl for Windows. Most Perl distributions will work fine. We recommend ActivePerl from
ActiveState.com
Usually EngInSite Perl Editor locates the Perl directory automatically.
If you haven't installed Perl yet:
1) Shut down EngInSite Perl Editor 2) Download Perl.
You will find the distribution package we recommend here:
http://www.ActiveState.com/
3) Follow the instructions on the same page. 4) Restart EngInSite Perl Editor
- Do I have to uninstall the previous
version before I install the new version?
No, otherwise you may lose your custom
settings.
- How to avoid a conflict with IIS ?
You can avoid a conflict with IIS (or another application that acts as server, e.g. Apache or Skype).
There are two ways to do this
1 Shutdown IIS :-) 2
Change the default port of the built-in web server
To avoid a conflict with IIS or Apache change the default port of the build-in HTTP server (Main menu ->
Settings -> Global Settings -> HTTP server) EngInSite Perl Editor adds a port number to the script
automatically. I.e., it calls http://localhost:8080/myscript.pl, if the HTTP port value was set to 8080.
- I would like to translate your
program and get free PRO license
First of all visit our Download
section and check out if the translation you want to made is
already available for download. Even if somebody else has
already done it - write to
us, probably we have another
program you would be able to translate and get the license for
the program you chose.
Install Professional version of the software
in the Perl Editor's directory find the file English.lng. Make a copy and rename it (assuming you speak Spanish) to
Spanish.lng.
The file consists of text rows divided by the
"=" sign. Right side of the row is the text the
program uses in the dialogs, menus etc. Leave the left side
intact.
You will probably see 3 main types of messages
1 Simple. MainForm.Closeall1.Hint=Close all files
Just translate "Close all files" message.
2 With a hotkey.
MainForm.Savetoserver1.Caption=Save to ser&ver as...
The ampersand sign (&) means that the menu with
the text above will have a hotkey v assigned to it. All
submenus in the same menu item must have hotkeys assigned to the
different keys. If you experience problem with it just skip it
and translate the text.
3 With a variable and other special symbols.
msgFileChanged=File %s has been changed by another application.~~Do you want to reload it ?
Do not change the structure of the phrase, if your language
doesn't require it. In the context above %s means
the file name and ~~ stands for the line break.
Switch to the language file you just created (Main
Menu->View->Languages) and check out how it works.
Send us the file and get your free license.
- I got a message like
"-w" key is not supported
Update your Perl installation. Some keys Perl uses changed in the last
years!
- If I install EngInSite
Perl Editor, can I continue to use the command line debugger and other tools I
use now?
Yes. Installation and use of EngInSite Perl Editor does not in any way impact
the Perl or the command line debugger. You can continue to use these tools in
conjunction with EngInSite Perl Editor if you wish.
EngInSite Perl Editor acts just like a standard text editor as far as the
command line tools are concerned. This means that, while your script is open in
EngInSite Perl Editor, you can open a console window and run or debug your
script using the command line if you wish. This allows you to easily move
between EngInSite Perl Editor's visual environment and the command line as
needed.
And even more than that. EngInSite Perl Editor allows you directly send commands
to the debugger from IDE.
- My script does not work on the
web-server
Check out whether you used shebang to help the server to find Perl.
i.e. add something like that as the first string of your script:
#!/usr/bin/perl or #!c:/Perl/bin
where "c:/Perl/bin" - is path to your Perl executable folder
- I would like to use my own
template for new files or at least make my own shebang
EngInSite Perl Editor automatically uses correct shebang (path to the perl
executable), while creating a new file.
If you want to have your own template for new files or use a shebang like #!/usr/bin/perl,
edit the perl template file (C:\Program
Files\LuckaSoft\EngInSite Perl Editor\inc\perl.txt)
Now use Main menu->File->New from templates->Common Templates->Perl script
to create your new Perl script.
you are done!
|