http://qs321.pair.com?node_id=210317

Hello, I have been reading your Tutorials lately, and I think they are great. The reason I am asking for a tutorial Add-on is because the tutorials are so great! I have been having problems understanding the  Push and  Pop command structures. I think that a tutorial on these command structures would help all the newbies including me. I have Perl books but I like the PM tutorial examples much better. Thanks.

-@rocks

Replies are listed 'Best First'.
Re: Tutorial Add-On
by Flame (Deacon) on Nov 05, 2002 at 03:58 UTC
    If you still want a tutorial I'd be happy to write one. But both of those commands *are* well documented in the files that came with Perl.



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS

      I'm sorry, Flame, but my very very old computer that isn't worth $.02 anymore only has a few megs and 8 RAM. This means to install the only OS that I can find for this old computer, I need to install the bare bones: Perl, Vi, root, and command and some other small items. This filled my memory to the brink and I didn't have enough space to install the manuals. That is why I depend on Books, Perlmonks, and other perl users. I am sorry if I can't afford one of those new PC's and have to stick to the out-dated IBM's but this is all I have. Please be kind and not assume I have the manuals even though 99.9% of people using perl do. Thank you, Flame.

      -Monk32 DISCLAIMER:[Monk32]s$.02=>'to_be_taken_lightly';

        So... is this a "Yes, please make one" or a "No, I'll look it up on perldoc.com"?

        /me is confused



        My code doesn't have bugs, it just develops random features.

        Flame ~ Lead Programmer: GMS | GMS

Re: Tutorial Add-On
by BUU (Prior) on Nov 04, 2002 at 23:59 UTC
    push. Adds a list to the end of an array, defaults to @ARGV or @_. This is complicated? pop Removes and returns the element at the end of a list, defaults to @ARGV or @_, depending on context. Wow!

    My point of course with this relatively sarcastic answer is that we hardly need tutorials for something as basic as pop and push. Thats what we have perldoc and perlfunc
    A reply falls below the community's threshold of quality. You may see it by logging in.