tlby commented on a change in pull request #8015: [Perl] Adding Gluon interface
to Perl, miscellaneous changes in order to sync with Python
URL: https://github.com/apache/incubator-mxnet/pull/8015#discussion_r141495569
##########
File path: perl-package/AI-MXNet/lib/AI/MXNet/Symbol/NameManager.pm
##########
@@ -75,10 +75,10 @@ method get(Maybe[Str] $name, Str $hint)
method current()
{
- $AI::MXNet::current_nm_ldr;
+ $mx::NameManager;
}
-$AI::MXNet::current_nm_ldr = __PACKAGE__->new;
+$mx::NameManager = __PACKAGE__->new;
Review comment:
this variable would be better inside this module's namespace.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services