Tags:
create new tag
, view all tags
KevinKinnell suggested using perl 5.005 :

> Mainly it's the availability of the ``qr//'' quote-like operator.
> Being able to compile an arbitrary regexp is really nice, and makes
> coding the Pure-Perl grep functions much nicer. The rest of the
> search enhancements get much easier and faster.

We should go ahead and require 5.005 if it is deployed sufficiently enough. Let's vote and make a survey on this:

  • Vote: Yes/No/Pending
  • Deployed versions: List of Perl versions on your machines (find out with: perl -v )

Who: Vote: Deployed versions:
PeterThoeny Pending 5.005_03, 5.005_03, 5.000
JohnAltstadt No 5.004_04
JoshuaRodman Noncommittal 5.005_03
KevinKinnell Yes 5.004_04, 5.005_03, 5.6.0
NicholasLee Yes 5.004_05, 5.005_03, 5.6.0
JamalWills No 5.004_01
     

-- PeterThoeny - 15 Jul 2000

The Pure-Perl grep stuff is going to be important given the new abstract File API.

-- NicholasLee - 07 Aug 2000

I can live without it, but it will be slower and the code will be uglier. I'd rather not have to eval anything, but that might be the easiest way to do it without qr//.

-- KevinKinnell - 09 Aug 2000

This discussion was never concluded, but this is to flag that testenv in the TWikiAlphaRelease now complains if the Perl is older than 5.005_03 - since this is several years old (Red Hat 6.2 vintage) I don't think this is a big problem. The core code may still work on 5.004, but it is only being tested on 5.005_03 or later - see the TWikiDocumentation's system requirements section.

-- RichardDonkin - 26 Mar 2002

The core code in the TWikiAlphaRelease will soon require Perl 5.005, due to InternationalisationEnhancements that require the use of the qr// operator to build compiled regex objects. Internationalisation without use of this feature would have some performance hit and be harder to maintain - since there have been no complaints about the testenv script requiring 5.005_03 (most Linux distros have this, even old ones such as Red Hat 6.2), I think this is reasonable. 5.004 is now extremely old - it's three major versions behind, now that 5.8.0 is released.

-- RichardDonkin - 29 Nov 2002

Topic revision: r11 - 2002-11-29 - RichardDonkin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.