in reply to I need a simple explantion of the difference between my() and local()

here is a link to a helpful TPJ article on local...Seven Useful Uses of local

  • Comment on Re: I need a simple explantion of the difference between my() and local()

Replies are listed 'Best First'.
Re: I need a simple explantion of the difference between my() and local()
by Dominus (Parson) on May 03, 2001 at 00:36 UTC
      Au contraire.

      It is an extremely useful article. Among other things it explains very clearly why many things that people think they have to use local for don't need it after all. It is therefore useful as a way of explaining to people who are mistakenly using local.

      I consider this valuable.

Re: Re: I need a simple explantion of the difference between my() and local()
by wardk (Deacon) on May 03, 2001 at 00:55 UTC

    perhaps you are correct, the article ends with the following...

    Even the useful uses for local are mostly not very useful.

    Nobody should read it.

    it's on the web, so every one reading is likely nobody, eh? ;-)

    Update: ok, I get it...