Page 1 of 1

How to setup Textpad for Perl ?

Posted: Wed Apr 13, 2011 5:30 am
by leegold
Hi,

How to I run Perl from Textpad? I tried tools and using C:\Perl\bin\perl.exe as the command w/the defaults but it'snot working. Googled it but what I saw and tried did not work. I would also like a syntax check through Textpad. Do anyone know exactly how?

Thanks

Note: I'm doing GUI things with wxPerl. Code work fine when invoked fron DOS box - but not so far from TextPad.

Posted: Wed Apr 13, 2011 8:13 am
by ben_josephs
You haven't said what you want to do, how you tried to do it, what happened when you tried, or whether your perl is in C:\Perl\bin.

Do you want to run the Perl script in the current document? Try
Command: C:\Perl\bin\perl.exe
Parameters: $File
Initial folder: $FileDir

[X] Capture output
To check the syntax of the script, try
Command: C:\Perl\bin\perl.exe
Parameters: -c $File
Initial folder: $FileDir

[X] Capture output
I know nothing about wxPerl.