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

Re: [MacPerl] Novice question regards subroutines



Chris Nandor observed:
>At 02.17 -0400 1998.09.20, Bruce Van Allen wrote:
>>OK, so any value that can be resolved to a number will be, quoted or bare.
>>My main point for PwrSurge was to watch out for wrong use of operators.
>
>Yessir.  And I bet that using = instead of eq or == is the #1 mistake new
>Perl programmers make, so an important point it is.
>
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.

yours,
Michael

------------------------------------------------------------------
Michael and MJ Houghton   | Herveus d'Ormonde and Megan O'Donnelly
herveus@radix.net         | White Wolf and the Phoenix
Bowie, MD, USA            | Tablet and Inkle bands, and other stuff
                          | http://www.radix.net/~herveus/



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