Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Perl not working

Jan
21
0
I have this perl script (hello.pl)
print "Hello from ActivePerl!\n";
If I call it in TCC it runs OK but if I try to use it in a btm script (hello.btm) I get error 'perl510.dll not found'.

btm script looks like this
%@perl[print "Hello world!\n";]

TCMD.INI is configured to use PERL Regular Expression Syntax under the Advanced tab and perl510 is installed. This is on Windows7.
 
> I have this perl script (hello.pl)
> print "Hello from ActivePerl!\n";
> If I call it in TCC it runs OK but if I try to use it in a btm script
> (hello.btm) I get error 'perl510.dll not found'.
>
> btm script looks like this
> %@perl[print "Hello world!\n";]
>
> TCMD.INI is configured to use PERL Regular Expression Syntax under the
> Advanced tab and perl510 is installed. This is on Windows7.

Are you using Perl 5.10, and did you enable Perl support in TCC (OPTION /
Startup / Scripting / Perl)?

Rex Conn
JP Software
 
On Sat, 06 Feb 2010 21:20:29 -0500, bravotango <> wrote:

|---Quote (Originally by rconn)---
|Are you using Perl 5.10, and did you enable Perl support in TCC (OPTION /
|Startup / Scripting / Perl)?
|
|Rex Conn
|JP Software
|---End Quote---
|
|Yes Rex, just checked it again to be sure.

How are you trying to use Perl statements in a BTM file? They should be wrapped
in @PERL[].
--
- Vince
 
Is that in your PATH?

I think I understand. So I copied the btm file into C:/perl/bin folder and now it works from that location but is that a bug? I expected TCC to support perl regardless of path to the required dll which is obviously going to be in the perl folder.
At least it all works now. Thanks for your help.

Bazz
 
> ---Quote (Originally by rconn)---
> Is that in your PATH?
> ---End Quote---
>
> I think I understand. So I copied the btm file into C:/perl/bin folder
> and now it works from that location but is that a bug? I expected TCC
> to support perl regardless of path to the required dll which is
> obviously going to be in the perl folder.
> At least it all works now. Thanks for your help.

It's a Windows issue (and error message), not TCC. TCC is asking Windows to
load the perl510.dll, and on your system Windows cannot find it and displays
the error. If you put the Perl path in your TCC PATH, or copy the dll to
your Windows system directory everything should work OK.
 

Similar threads

Replies
6
Views
2K
Back
Top