in reply to Function refs, and trying to keep strict

What's the problem with use "no strict 'refs'"? While the use of strictness is good, code that bends itself backwards just to satisfy strictness isn't something I fancy.

Remember that Perl, unlike many other languages, is there to serve the programmer, instead of making the programmer a slave of the language. But if you slab 'use strict' on top of your program, without the willingness of turning it off when appropriate, you're programming in a unPerlish fashion.

Remember, Java is thataway.

Abigail

  • Comment on Re: Function refs, and trying to keep strict

Replies are listed 'Best First'.
Re: Re: Function refs, and trying to keep strict
by jaco (Pilgrim) on Sep 25, 2003 at 14:42 UTC

    It's actually not so much of a problem to use "no strict refs". However I've found in the past that I'm easily overlooking something that could kill two birds with one stone.
    That is, run smoothly and keep me within the binds of strict. I understand that the ability to remove those features is there for a reason, and i'm not ashamed to use it. But it never hurts to ask.
    I'm also well aware that many of you understand this language far better then i and expose me to new methods, which is a very good thing indeed.