in reply to using 'my'
(Side note: Perl does not have true global variables. All variables exist only in the package in which they are defined. However, because main:: is the default package, variables that are non-lexical in main appear almost as if they are global.)
One point on 'use strict'. My brother has a magnificent e-commerce site written completely in Perl 5.00x It supports his entire family very nicely.
He does not 'use strict'! I told him that what he was doing was 'blasphemy.' He said that he does not view using Perl as a religious act. I cannot argue with success, but I will always use strict, and where possible I convert scripts written by others to strict when I maintain them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: using 'my'
by tilly (Archbishop) on Jun 21, 2001 at 21:39 UTC | |
by sierrathedog04 (Hermit) on Jun 22, 2001 at 02:07 UTC | |
by chip (Curate) on Jun 23, 2001 at 01:14 UTC | |
by tilly (Archbishop) on Jun 23, 2001 at 02:21 UTC |