[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Novice question regards subroutines



At 11.38 -0400 1998.09.27, Michael Houghton wrote:
>Some of us not-so-new Perl programmers make this oopsie from time to time
>as well...which is why I always make the first two lines of a new Perl script:
>
>#!/bin/perl -w
>use strict;
>
>I then assume that any error message is something I need to fix until I
>determine otherwise.

Very good advice.  Many of us here (including Matthias, and the two authors
of MPPE) dislike -w, to varying degrees, but at least I believe that while
-w has its problems, it is best to use it first and disable it later, at
the least.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch