Wednesday, February 08, 2006

Compiling Perl using ConTEXT on Windows

For executing the perl scripts using custom user commands (I have ActiveState's Perl compiler installed):
  • Go to Options | Environment options... > Execute keys.
  • Press the Add button and type "pl" in the dialog box that appears.
  • Now select one of the function keys (say, F9).
  • Type the full path name to perl.exe in the Execute: box, "%f " in the Parameters: box, and check Capture console output.

No comments: