DBIx:: StORM:: LexBindings

Summary
Build a hash map of lexical variables used in a code reference.
Turn a variable value from its B::* module objects into a real perl value.
Build a hashmap of lexical variables used in a coderef.

DBIx:: StORM:: LexBindings

Build a hash map of lexical variables used in a code reference.  The main access point is the class method lexmap().

=end NaturalDocs

Summary
Turn a variable value from its B::* module objects into a real perl value.
Build a hashmap of lexical variables used in a coderef.

Functions

b_to_item (private static)

Turn a variable value from its B::* module objects into a real perl value.  This may act recursively (for references, hashes and arrays).

Parameters

Listobjects of B::* class

Returns

ArrayRefThe objects as their native Perl values

=end NaturalDocs

lexmap (public static)

Build a hashmap of lexical variables used in a coderef.  The hash returned has variables names as the keys, and the variable values as the corresponding hash value.

Parameters

CodeRef $codrefThe code reference to inspect

Returns

HashRefThe lexical variables used in the coderef

=end NaturalDocs