You are here: Foswiki>Tasks Web>Item2026 (09 Sep 2009, GeorgeClark)Edit Attach

Item2026: create_new_extension fails with syntax error - Global symbol $NOP

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: BuildContrib
Branches:
Reported By: GeorgeClark
Waiting For: Main.GeorgeClark
Last Change By: GeorgeClark
Attempting to create a new extension.

/create_new_extension.pl MyNewPlugin
Global symbol "$NOP" requires explicit package name at ./create_new_extension.pl line 192.
Execution of ./create_new_extension.pl aborted due to compilation errors.

Issue is an unescaped $ in a regular expression.

    $content =~ s/%$NOP%//g;
should be
    $content =~ s/%\$NOP%//g;

Fixed as part of Item2018: parenting - closing this report.

ItemTemplate edit

Summary create_new_extension fails with syntax error - Global symbol $NOP
ReportedBy GeorgeClark
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component BuildContrib
Priority Normal
CurrentState Closed
WaitingFor GeorgeClark
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r1 - 09 Sep 2009, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy