You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2003/10/10 21:34:45 UTC

cvs commit: modperl-2.0/t/conf modperl_extra.pl

stas        2003/10/10 12:34:45

  Modified:    t/conf   modperl_extra.pl
  Log:
  prevent "Unquoted string "threads" may clash with future reserved word at"
  warnings with 5.6.x which doesn't have the module threads.pm
  
  Revision  Changes    Path
  1.33      +1 -1      modperl-2.0/t/conf/modperl_extra.pl
  
  Index: modperl_extra.pl
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/t/conf/modperl_extra.pl,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -u -r1.32 -r1.33
  --- modperl_extra.pl	12 Sep 2003 02:19:01 -0000	1.32
  +++ modperl_extra.pl	10 Oct 2003 19:34:45 -0000	1.33
  @@ -88,7 +88,7 @@
   # are running on). This should work starting from perl-5.8.1 and higher.
   use Config;
   if ($] >= 5.008001 && $Config{useithreads}) {
  -    eval { require threads; threads->import() };
  +    eval { require threads; "threads"->import() };
   }