in reply to How is it that I can see this package variable from another package without fully-qualifying its name?

Please: it's its, not it's in the title!

Here's a good way to remember it: qw/his hers its/ none of them have apostrophes in them. Whenever you see "it's" mentally expand it into "it is", since that's what it always is.

  • Comment on Re: How is it that I can see this package variable from another package without fully-qualifying its name?

Replies are listed 'Best First'.
Re^2: How is it that I can see this package variable from another package without fully-qualifying its name?
by Anonymous Monk on Apr 24, 2011 at 19:38 UTC

    Arg! Can't believe I did that. I get it right almost all of the time, but sometimes it still manages to trick me: "Joe's bar and grill, Larry's language, it's scope ... {sigh}"

      If you logged in rather than posting as Anonymous, you could edit it and fix it after you see it. That bugs me more than the mistake itself; the fact that it's cast in stone forever now.

      So, how about signing up and getting your own user name?

      "Joe's bar and grill, Larry's language, it's scope ... {sigh}
      Because you are mixing proper nouns and pronouns. A better way to remember is Hi's bar a grill, he'r language, it's scope... er, huh? His/her/its form a set.
        you wrote meaning "which of several possible patterns to I encounter first?" in Global %+ woes.

        I'm not a native speaker but I think you meant s/to/do/.

        Cheers Rolf

        the fact that it's cast in stone forever now.

        Huh? This software. Electronic bits and bytes. And there are janitors (not to mention gods).

        I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
        Even stone is not forever.

        Erosion, subduction, solar evolution, heat death of the universe.