Home
    
Home Features Download Support Contact

Configuring WinEdit for Perl

WinEdit 2000 is preconfigured for use with the Perl language. The most common issue involved is in setting up the "Compile" command in WinEdit to do what you want.

The "Compile" command in WinEdit (assigned in the View.Options.FileType dialog box) is actually just a command line of your choice. When the command completes, you are returned to WinEdit, with the output of the command in the Output Window if "Redirect to Output Window" checkbox is checked.

But if what you want to do is step through code in the perl debugger, or see console output, you may need to set things up a little differently.

  • To run the perl debugger, configure the compile command to open a new console window by running either "cmd.exe" (Windows NT) or "command.com" (Windows 98):


    • NT: cmd.exe /k perl -d $(FilePath)
    • WIN98: command.com /k perl -d $(FilePath)

  • To run a perl script which has console output, just remove the "-d" debugger switch:

    • NT: cmd.exe /k perl $(FilePath)
    • WIN98: command.com /k perl $(FilePath)
Additional commands can be added in the same way as Tools, from the Project menu.





Back to Support Main Page


WinEdit - Java, HTML, Programming Editor Java, HTML, and Text Editor - WinEdit Java, HTML, and Text Editor - WinEdit
Copyright © 1990-2001 WinEdit Software Co. All Rights Reserved.