FAQ

On Wed, Oct 13, 1999 at 04:22:59AM -0700, chip@valinux.com wrote:
According to M.J.T. Guy:
Does this mean that code like this will break?
my @a = (1..5);
my $b = \($a[2]); # LINE 2
tie $a[2], 'MyWatcher'; # LINE 3
$$b = 4; # should be seen by watcher
Yes.

Doggone it, if I have to change this I'm going to be ticked.
Just reorder line 2 to be after line 3. What's the big deal?

Can anyone think of an example that is less contrived and actually hard
to fix?

--
"Does `competition' have an abstract purpose?"
via, but not speaking for Deutsche Bank

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 24 | next ›
Discussion Overview
groupperl6-porters @
categoriesperl
postedOct 12, '99 at 8:32p
activeOct 18, '99 at 2:31a
posts24
users7
websiteperl6.org

People

Translate

site design / logo © 2019 Grokbase