Item2026: create_new_extension fails with syntax error - Global symbol $NOP
Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
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.