go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Quote: what mylog ($PACKAGE::mylog) is for
To store the value you need variable name: that's $mylog. To store it in the current package, you can use $__PACKAGE__::mylog. Quote: Again, why Log::Log4perl is assigned to _PACKAGE_::mylog?? What does this mean? It could mean a number of things. One of them could be that author of the code wants a package global variable (variable that is global in the package defined) to be accessed from outside of the package. In reply to Re^2: Calling a method from class / subclass?
by arkturuz
|
|