At 10:42 PM 8/1/00 -0400, Chaim Frenkel wrote:
>We may need that all variables are by default lexical.
>
>Without the explicit declaration of cross-thread visible variables, doing
>threading may well be difficult (on one's fingers)
The two things are orthogonal. Threading doesn't place any sort of
requirements on lexical or package variable visibility. We could do a deep
clone ala 5.6.0's ITHREADS, or a partial clone, or start new threads with
empty package stashes. Or any (or all) combinations of the above.
> >>>>> "PC" == Piers Cawley <[EMAIL PROTECTED]> writes:
>
> >> * no need to declare variables: I think variables should be
> >> lexically scoped by default, without having to think about and write
> >> all those 'my's.
>
>PC> I'd like to see that as a pragma:
>
>PC> no need_for_my
>
>PC> Et voila, all variables are lexical by default, and you run the risk
>PC> of typoing. But -w should spot that for you.
>
>PC> Personally I like $foo->{member}, it's explicit and it does what you
>PC> need. Again, this is merely personal, but I find the
>PC> object.with.lots.of.dots = "Bloody annoying" style to be, well, bloody
>PC> annoying.
>
>Well what about->{lots}->[of]->{nested}->[punctuation].
>
>Periods are a bit less noisy. But number of characters is not enough
>reason to change it.
>
><chaim>
>--
>Chaim Frenkel Nonlinear Knowledge, Inc.
>[EMAIL PROTECTED] +1-718-236-0183
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk