Rechercher une page de manuel
HTML::Widgets::NavMenu::Tree::Iterator::Stack.3pm
Langue: en
Version: 2009-12-09 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
HTML::Widgets::NavMenu::Tree::Iterator::Stack - a simple stack class.SYNOPSIS
For internal use only.METHODS
$s->push($myitem)
Pushes an item.$s->len($myitem)
Returns the number of elements.$s->top()
Returns the highest item.my $item = $s->item($index)
Returns the item of index $index.my $item = $s->pop()
Pops the item and returns it.my $bool = $s->is_empty()
Returns true if the stack is empty.$s->reset();
Empties the stackCOPYRIGHT & LICENSE
Copyright 2006 Shlomi Fish, all rights reserved.This program is released under the following license: MIT X11.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre