Stack::PersistentA persistent stack | |
Download |
Stack::Persistent Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kevin L. Esteb
- Publisher web site:
- http://search.cpan.org/~kesteb/
Stack::Persistent Tags
Stack::Persistent Description
A persistent stack Stack::Persistent is a Perl module that implements a named, persistent stack for usage by programs that need to recover the items on a stack when something unexpected happens. The stack is LIFO based.This module can be used as follows: use Stack::Persistent; $stack = Stack::Persistent->new(); $stack->push('default', 'some really cool stuff'); printf("There are %s items on the stack\n", $stack->items('default')); printf("My data is: %s\n", $stack->pop('default'));The main purpose of this module was to have a persistent stack that could survive the restart of a program. Multiple, named stacks can be maintained. Requirements: · Perl
Stack::Persistent Related Software