in reply to RE: Re: my first module
in thread my first module

I did point that out. I had meant 'in general' to change 'our' to 'my' if he isn't in 5.6.. bad wording left room for interpretation. But, I am wrong (this Florida sun is scrambling my brain), you would want use vars.

Cheers,
KM

Replies are listed 'Best First'.
RE: RE: RE: Re: my first module
by merlyn (Sage) on Oct 07, 2000 at 00:34 UTC
    No, in general, you cannot change our to my, because that changes a package variable into a lexical variable, really hosing things up.

    "In General", you'll be wanting to change our to use vars, the closest analog between 5.1 and 5.5.3 for the new-in-5.6 our construct.

    -- Randal L. Schwartz, Perl hacker

      I think the Florida sun is quickly turning my brain into some sort of cerebral soup... I stand corrected :)

      Cheers,
      KM