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                       |
                                                         |

Reply via email to