• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3893: SVN 13367 breaks Perl 5.6.1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent Closed   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The change introduced in 13367 breaks Perl 5.6.1

I get this error when running configure

Error: TWiki.pm could not be loaded. The error was:
Global symbol "@back" requires explicit package name at /var/www/twiki/lib/TWiki/Render.pm line 1814.
Global symbol "@back" requires explicit package name at /var/www/twiki/lib/TWiki/Render.pm line 1821.
Compilation failed in require at /var/www/twiki/lib/TWiki.pm line 493.
BEGIN failed--compilation aborted at /var/www/twiki/lib/TWiki.pm line 493.
Compilation failed in require at (eval 84) line 3.
Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable 

I do not get this in Perl 5.8

I think it is this syntax that is not valid in 5.6

my( $bow, $eow, $forward, $back ) = ( '\b', '\b', '?=', '?<=' );

-- TWiki:Main/KennethLavrsen - 13 Apr 2007

No the line is OK.

It is the ${back}[^./] that seems to be seen as an array.

Easy to fix.

$re = "((${back}" . "[^./])|^)$bow($matchWeb\\.)?$topic$eow";

and

$re = "((${back}" . "[^./])|^)$bow$matchWeb\\.$topic$eow";

-- TWiki:Main.KennethLavrsen - 13 Apr 2007

Fix implemented and re-implemented.

Remember to merge this to Patch when SVN

-- TWiki:Main.KennethLavrsen - 13 Apr 2007

I beleiev this is fixed.

CC

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary SVN 13367 breaks Perl 5.6.1
ReportedBy TWiki:Main.KennethLavrsen
Codebase

SVN Range TWiki-4.1.2, Fri, 13 Apr 2007, build 13369
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:13383 TWikirev:13384
TargetRelease minor
ReleasedIn

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-08-10 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback