RECENT POSTS

P5-symbol-global-name

May 26, 2018

Finds name and type of a global variable

SymbolGlobalName takes a reference and optional package name. It returns the name of the referenced variable as long as it’s in the package or sub-package and it’s a global variable. Returned name is prefixed with type sigil, eg. ‘$’, ‘@’, ‘’, ‘&’ or ‘*’.

WWW http//search.cpan.org/dist/Symbol-Global-Name/