PERL Symbol Table

What is Symbol table and how it Works?

Questions by sapam   answers by sapam

Showing Answers 1 - 2 of 2 Answers

The symbol table is the list of active symbols (functions, variables, objects) within a package. Each package has its own symbol table, and with some exceptions, all the identifiers starting with letters or underscores are stored within the corresponding symbol table for each package. This means that all other identifiers, including all of the special punctuation-only variables, such as $_, are stored within the main package.

  Was this answer useful?  Yes

Symbol table is a PERL structure which contains the identifier names(like 'variable'). The identifier became actual variable ($variable,@variable etc) type when it associate through typeglob.

Symbol table contains only global variables.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions