in reply to Why doesn't strict complain here?

Doh !!!! Thanks..... I need to post a dumb question once in awhile to keep up my reputation. :-)

I'm not really a human, but I play one on earth. Cogito ergo sum a bum

Replies are listed 'Best First'.
Re^2: Why doesn't strict complain here?
by rodion (Chaplain) on Jul 05, 2006 at 17:52 UTC
    Collision with "$a" and "$b" built-ins is one of the hazards of using single letter variables, along with
    • making it difficult to search for the variable
    • others maintaining code
    I used to think "$i" was just fine as an index variable, but my collegues, after grumbling in private for several years, convinced me that I could aford to type "$idx". (although it wasn't easy to give up the habit.)
      Yeah, it's a bad habit from Engineering school where everything is x,y,z,w,t,i,j,k.

      I'm not really a human, but I play one on earth. Cogito ergo sum a bum