Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Re:HTADD (Score:1, Interesting)

    by Abigail (26) on 2000.04.18 13:35 (#139) Journal
    I mean, what _does_ our() do and when do I want to use it?

    Well, our() was introduced because it saves you from typing one line. Making the already confusing scoping rules of my vs. local even more confusing to beginners was well worth the saving of typing use vars. Never leave something out of the core that is already in a module (or pragma)!.

    For the same reason, perl 5.6 has symbolic chmod and the ?? operator. Oh, wait. Not quite. Those would actually be useful, add something to perl, not confuse new programmers, and they aren't already in modules.

    -- Abigail