in reply to Re^7: Does @{ } copy arrays?
in thread Does @{ } copy arrays?
but my example shows that your suggestion Could not the application of magic to an array, and all the penalties that go with it, be deferred until it is used in an lvalue context? would effect manipulate code at long distance.
And yes of course I consider my example to pass $#a as an argument an extremely common case.
Cheers Rolf
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Does @{ } copy arrays?
by ikegami (Patriarch) on Oct 23, 2009 at 19:52 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2009 at 22:22 UTC | |
by ikegami (Patriarch) on Oct 23, 2009 at 22:56 UTC | |
by LanX (Saint) on Oct 23, 2009 at 20:33 UTC | |
by ikegami (Patriarch) on Oct 23, 2009 at 20:45 UTC | |
|
Re^9: Does @{ } copy arrays?
by BrowserUk (Patriarch) on Oct 23, 2009 at 16:19 UTC | |
by LanX (Saint) on Oct 23, 2009 at 19:43 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2009 at 22:11 UTC |