A Suggestion (please read and respond)

bowman bowman at news.montana.com
Mon Oct 30 22:15:15 EST 2000


Courageous <jkraska1 at san.rr.com> wrote:

!Scripting languages don't require that someone declare a variable.

Perl doesn't require a declaration, but does offer the option with
'use strict;'. Then, for instance, a variable must be introduced with
'my' or an error will be flagged.

Does this help? Yes, it has saved me grief when I try to use $foobar,
but 20 lines back I said I would use 'my $fubar;'.  OTOH, you can get
pretty sick of 'my', even with the 'my ($this, $that, $and, $them);'
construct.







More information about the Python-list mailing list