http://www.perlmonks.org?node_id=466375


in reply to Categorized Questions and Answers: tips and tricks

Find the category under Categorized Questions and Answers under which your particular tip or trick belongs, and post a question and answer there. For example:

Category: Arrays
Question: How do I create a simple stack?
Answer: Use shift, unshift, and $array[0]
And here is a simple example...........


Dave

Replies are listed 'Best First'.
Re^2: Categorized Questions and Answers: tips and tricks
by GrandFather (Saint) on Jun 14, 2005 at 21:00 UTC

    I considered arrays and decided it didn't quite fit. If I knew that a simple stack implementation used an array then I most likely wouldn't need to look to find out how. Even if I did know that and needed a refresher, I'd still look first in Data Structures (if it were there) or Tips and Tricks if it were there.


    Perl is Huffman encoded by design.