• 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.

Item4297: File::Copy module not loaded, causes crash in configure.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Configure Normal Closed   n/a  

Edit Form Data

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

Detail

File::Copy module not loaded, causes crash in configure.

[Sat Jun 23 23:33:19 2007] configure: Undefined subroutine &File::Copy::copy called at /home/twikidev/lib/TWiki/Configure/Checker.pm line 271.

Fixed in SVN checkin, through dynamic require/import.

-- TWiki:Main/RichardDonkin - 24 Jun 2007

I suspect my home server may be flaky, so it would be good if someone else could reproduce this.

I've noticed a couple of places where there is no explicit use Module though - it may be that some Perl versions implicitly load the module when it's referenced, but that's news to me...

-- TWiki:Main.RichardDonkin - 25 Jun 2007

I wrote a script to audit all the perl modules to ensure that modules are require ed wherever they are used. It's in tools/check_requires.pl. I just ran it again, and updated all the modules it highlighted, but none would account for this error.

Note that you don't need the import, as the reference to File::Copy is fully qualified, and therefore in the root namespace. You only need the import if you want to pull symbols into the namespace of the calling module (a bad practice, IMHO).

Closed.

-- TWiki:Main.CrawfordCurrie - 26 Jun 2007

ItemTemplate
Summary File::Copy module not loaded, causes crash in configure.
ReportedBy TWiki:Main.RichardDonkin
Codebase ~twiki4
SVN Range 14256
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:14260 TWikirev:14283 TWikirev:14284
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-06-26 - TWikiUserMapping_CrawfordCurrie
 
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