in reply to Re: How to swap scalar values without copies
in thread How to swap scalar values without copies
Swapping the values of the references does not waste memory, but it violates rule n.2, namely that I want $a to be a string, not a reference to a string.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How to swap scalar values without copies
by hardburn (Abbot) on Feb 20, 2004 at 00:16 UTC | |
|
Re: Re: Re: How to swap scalar values without copies
by Anonymous Monk on Feb 20, 2004 at 02:04 UTC | |
by Anonymous Monk on Feb 20, 2004 at 02:22 UTC |