"~~" in sync-all

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"~~" in sync-all

Kazu Yamamoto (山本和彦)
Hi,

A recent change[1] to sync-all introduces the "~~" operator of
Perl. It seems to me that this operator is not supported by old Perl.

        % perl --version
        This is perl, v5.8.8 built for i386-linux-thread-multi

        % ./sync-all -r git://github.com/ghc --testsuite get
        syntax error at ./sync-all line 904, near ""pull" ~"
        BEGIN not safe after errors--compilation aborted at ./sync-all line 906.

Sorry for using old Perl but I appreciate if this operator will be
replaced with others.

[1]
commit 968998e69a745e38a47f4771a3244008f19ebc4a
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Mon Aug 5 11:22:04 2013 +1000

--Kazu



Reply | Threaded
Open this post in threaded view
|

"~~" in sync-all

Erik de Castro Lopo-34
Kazu Yamamoto (????) wrote:

> Hi,
>
> A recent change[1] to sync-all introduces the "~~" operator of
> Perl. It seems to me that this operator is not supported by old Perl.
>
> % perl --version
> This is perl, v5.8.8 built for i386-linux-thread-multi
>
> % ./sync-all -r git://github.com/ghc --testsuite get
> syntax error at ./sync-all line 904, near ""pull" ~"
> BEGIN not safe after errors--compilation aborted at ./sync-all line 906.
>
> Sorry for using old Perl but I appreciate if this operator will be
> replaced with others.

Thanks for the heads up Kazu.

Should be fixed in 0daee297e3c44c00f54d2be15f13eabdddc6b62f.

Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



Reply | Threaded
Open this post in threaded view
|

"~~" in sync-all

Kazu Yamamoto (山本和彦)
Erik,

>> Sorry for using old Perl but I appreciate if this operator will be
>> replaced with others.
>
> Thanks for the heads up Kazu.
>
> Should be fixed in 0daee297e3c44c00f54d2be15f13eabdddc6b62f.

Thank you for your quick fix. It works!

--Kazu