NAME
WWW::Webrobot::SymbolTable - Symbol table for Webrobot properties
SYNOPSIS
use WWW::Webrobot::SymbolTable;
my $symbols = WWW::Webrobot::SymbolTable -> new();
DESCRIPTION
METHODS
- new
-
Constructor
- $symbols->push_scope()
-
Open a new scope for symbols.
- $symbols->pop_scope()
-
Close (delete) the last scope, delete all symbols in this scope.
- $symbols->define_symbol($name, $value)
-
Define a symbol in the current scope.
- $symbols->evaluate($string)
-
Evaluate all symbols in a string. The symbol variables must obey the syntax
${name}
. Returns the evaluated string.