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

Item5397: WysiwygPlugin: Unqualified package name for WC module

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine WysiwygPlugin Normal No Action Required   n/a  

Edit Form Data

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

Detail

Package WysiwygPlugin/lib/TWiki/Plugins/WysiwygPlugin/HTML2TML/WC.pm provides:

package WC;

instead of full qualified:

package TWiki::Plugins::WysiwygPlugin::HTML2TML::WC;

Two other modules reference the full qualified name: Node.pm, Leaf.pm.

-- TWiki:Main/PeterThoeny - 26 Feb 2008

It's OK, that's intentional. If you use the fully-qualified name it makes it (almost) impossible to use for referring to constants, such as WC::NBSP. The require of this module has to use the full path so that perl can find the module, however.

Thanks for pointing it out, though.

CC

ItemTemplate
Summary WysiwygPlugin: Unqualified package name for WC module
ReportedBy TWiki:Main.PeterThoeny
Codebase 4.1.2, 4.2.0
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Engine
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2008-03-20 - 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