How to setup Textpad for Perl ?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

How to setup Textpad for Perl ?

Post 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.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post 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.
Post Reply