| HTML-Widgets-NavMenu documentation | view source | Contained in the HTML-Widgets-NavMenu distribution. |
HTML::Widgets::NavMenu::Tree::Iterator::Stack - a simple stack class.
For internal use only.
sub push { my $self = shift; my $item = shift;
push @{$self->_items()}, $item;
return 0;
}
Pushes an item.
Returns the number of elements.
Returns the highest item.
Returns the item of index $index.
Pops the item and returns it.
Returns true if the stack is empty.
Empties the stack
Copyright 2006 Shlomi Fish, all rights reserved.
This program is released under the following license: MIT X11.
| HTML-Widgets-NavMenu documentation | view source | Contained in the HTML-Widgets-NavMenu distribution. |