"Michael C. Davis" wrote:

> At 08:54 PM 2/27/04 -0800, R. Joseph Newton wrote:
> >I think it might also be good to refer the OP back to James' post, which
> he seems
> >to have overlooked.  The caveat you provided earlier still makes sense.
>
> Thanks for the ideas.  Are you referring to James' suggestion about always
> using parens on calls to subroutines which are not built-ins?
>
> >I would also question whether the toolbox approach is a good investment of
> effort
> >in the long run.  Particularly if this package is meant as a core
> constants for a
> >project, I would want to direct the OP towards the very direct
> >use constant UPPER_CASE_IDENTIFIER => 'Hard-coded value';
>
> True, and I will be using this approach.  You all have really set me on the
> right path for doing this.
>
> >Since he seems to be just starting in, let's get him started in on DWIM
> coding
> >approaches.
>
> What would that be in this case?

Sounds like the one you have chosen to adopt:

DWIM => Do What I Mean
or SWIM => Say What I Mean

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to