In perl sources GvNAME
and GvENAME
. Both return name for given gv
. But second stands for effective name.
Dumping names I have not seen the difference.
May someone clear what is the difference and provide example which shows it?
UPD
Because this is related to naming too. What is difference between HvNAME
vs HvNAME_HEK
The "effective" means who create this
gv
.For example your module
Module::
definemy_sub
. Then this sub was imported intoMain::
. So the sub name isMain::my_sub
but effective name isModule::my_sub