9.02.156 and Perl

May 20, 2008
9,526
64
Syracuse, NY, USA
I have Perl 5.10. ANd I updated TCC v9 as soon as you announced.

The command "ECHO %@PERL[print abc]" works with TCC v10.

The same command makes TCC v9 disappear.
 

rconn

Administrator
Staff member
May 14, 2008
11,089
99
vefatica wrote:

> I have Perl 5.10. ANd I updated TCC v9 as soon as you announced.
>
> The command "ECHO %@PERL[print abc]" works with TCC v10.
>
> The same command makes TCC v9 disappear.
First, that Perl statement is invalid and will always return an error.

Second, make sure your PATH is set to point to Perl 5.8 for v9; if it's
pointing to Perl 5.10 it will definitely crash. (The Perl APIs changed
between 5.8 and 5.10.)

Rex Conn
JP Software
 
May 20, 2008
9,526
64
Syracuse, NY, USA
On Sat, 25 Apr 2009 18:33:48 -0500, rconn <> wrote:

|vefatica wrote:
|
|
|---Quote---
|> I have Perl 5.10. ANd I updated TCC v9 as soon as you announced.
|>
|> The command "ECHO %@PERL[print abc]" works with TCC v10.
|>
|> The same command makes TCC v9 disappear.
|---End Quote---
|First, that Perl statement is invalid and will always return an error.

I meant to put quotes around abc (that wasn't a copy/paste); with such quotes it
works. Without them it silently does nothing (v10).

|Second, make sure your PATH is set to point to Perl 5.8 for v9; if it's
|pointing to Perl 5.10 it will definitely crash. (The Perl APIs changed
|between 5.8 and 5.10.)

I understood you to say that the initially posted 9.02.156 used Perl 5.10 (what
was the re-upload all about?). I don't have Perl 5.8 on my new computer, only
5.10.
--
- Vince
 

rconn

Administrator
Staff member
May 14, 2008
11,089
99
vefatica wrote:

> |Second, make sure your PATH is set to point to Perl 5.8 for v9; if it's
> |pointing to Perl 5.10 it will definitely crash. (The Perl APIs changed
> |between 5.8 and 5.10.)
>
> I understood you to say that the initially posted 9.02.156 used Perl 5.10 (what
> was the re-upload all about?). I don't have Perl 5.8 on my new computer, only
> 5.10.
The reupload was to change the Perl linkage back to 5.8.

Rex Conn
JP Software