2

PLDelphi is a Perl project hosted on CPAN. I am currently working on a Delphi application and I am investigating the possibility of adding Perl scripting support and read about PLDelphi.

Ideally, I'd like my application to not require Perl to be installed. PLDelphi claims to support this:

To use PLDelphi from your Delphi application without need to install Perl you will need this files in the main diretory of your application:

PLDelphi.dll - The PLDelphi library that loads the Perl interpreter. PLDelphi.pm - Perl side of PLDelphi. Perl56.dll - The Perl library in case that you have Perl built dynamic. PLDelphi_dll.pas - PLDelphi classes and DLL wrapper. lib/* - A Perl lib directory with basic .pm files (strict, warnings, etc...)

I am aware of RemObjects PascalScript and embedding Python in Delphi, but in this instance, I am interested primarily in Perl support.

Has anyone used PLDelphi with success? Or have you found other ways to execute Perl scripts from Delphi without the full Perl installation available locally?

EDIT: To be more clear, I found 1 potential solution and that is using PLDelphi. However, I'd like to know if anyone has used it (last updated in 2004) before, and how well it worked.

I'm also interested in hearing about any other options for embedding a Perl interpreter with Delphi.

1
  • The answer to your title question seems to be, "Use PLDelphi." If you've already figured that out and want to know how to use PLDelphi, then maybe that should have been your question. Commented Sep 13, 2009 at 22:55

3 Answers 3

2

You could use Windows Script Host (which comes with VBScript and JScript by default) and install PerlScript from ActiveState.

Sign up to request clarification or add additional context in comments.

Comments

1

Sadly PLDelphi isn't updated for XE3 or 64 bits there for won't work with Perl 5.16

Comments

0

I was really looking for a solution that didn't require installing anything on the client. It appears that PLDelphi is not working with ActivePerl 5.10...so I don't believe there is a ready solution to embedding Perl within a Delphi application.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.