Re: Tying sub arguments is rare?

[email protected] (John Porter) Wed, 13 Oct 1999 16:08:48 -0400
Newsgroups perl.perl6.porters
Message-ID <[email protected]>
Joshua N Pritikin wrote:
> On Wed, Oct 13, 1999 at 04:22:59AM -0700, [email protected] 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
> > 
> > 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?

Is having it behave differently from perl5 a big deal?

-- 
John Porter