Ricardo SIGNES > Global-Context > Global::Context::Stack

Download:
Global-Context-0.003.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.003   Source  

NAME ^

Global::Context::Stack - the stack of a Global::Context::Env object

VERSION ^

version 0.003

OVERVIEW ^

Global::Context::Stack is a role.

Stack objects provide information about the execution path that has led to the current execution point in a program. It has only one important attribute, frames, which is an arrayref of Global::Context::StackFrame objects.

It provides one critical method, with_pushed_frame, which returns a clone of the stack with one addition frame added. (If the top frame of the stack was "ephemeral," it is replaced instead of pushed down.)

AUTHOR ^

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2010 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: