On Tue, Jul 31, 2001 at 09:10:33PM +0200, Abigail <[EMAIL PROTECTED]> wrote:
> > The problem comes from the fact that scalars are passed by value (good
> > idea usually), and perl implements this by copying (usually a good idea as
> > well).
>
> Oh, really?
yes, I meant (but didn't write, since this is obvious from the discussion
which was about returning vs. not returning): it passes the return values
by copying.
> Perl passes by reference, not value, as is documented in "man perlsub".
But functions are two way: you put something in, you get something out ;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Re: Sorting in-place (SOLVED?... Abigail
- Re: Sorting in-place Michael G Schwern
- Re: Sorting in-place pcg
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place pcg
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place Clinton A . Pierce
- Re: Sorting in-place Bart Lateur
- Re: Sorting in-place pcg
- Re: Sorting in-place Abigail
- Re: Sorting in-place Michael G Schwern
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place pcg
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place Andrew Pimlott
- Re: Sorting in-place Ilmari Karonen
- Re: Sorting in-place Bart Lateur
- Re: Sorting in-place Ronald J Kimball
- Re: Sorting in-place pcg
- Re: Sorting in-place Michael G Schwern
