[Webkit-unassigned] [Bug 29656] Make WebKitTools/Scripits/run-sunspider script work on Windows platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 30 05:49:15 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29656





--- Comment #9 from Csaba Osztrogonác <oszi at inf.u-szeged.hu>  2009-09-30 05:49:15 PDT ---
(In reply to comment #8)
You are right, that we should use same Perl interpreter when invoke another
Perl scripts. It is nicer solution than using just "perl".

I don't know perlvar before, I read it, and find it is very helpful, thx. ;)

> sub currentPerlPath()
> {
>     my $thisPerl = $^X;
>     if ($^O ne 'VMS') {
>         $thisPerl .= $Config{_exe} unless $thisPerl =~ m/$Config{_exe}$/i;
>     }
>     return $thisPerl;
> }

I don't see why we should use this method to determine the actual Perl
interpreter. Why don't use simple $^X? I think all windows platform don't need
.exe suffixes. And my ActiveState Perl 5.10.0 said that its interpreter is
c:\perl\bin\perl.exe. It works with ...perl and ...perl.exe too.

Do you know a perl used by WebKit developers which needs this very complex
method? I think we can use simple "return $^X".

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list