On Mon, 19 Jun 2000, John Hughes wrote:

> > Incidentally, the $r->print() method conveniently lets you pass the string
> > you want to send by reference.
> 
> Why is that "convenient":

It's convenient for me because I have a scalar ref that I want to
print.  Maybe dereferencing it and passing by value wouldn't hurt anything
though.

> (Hint - Perl passes all values by reference.  The point $r->print doing
> an auto-dereference is supposed to be to let you pass a reference around
> in *your* code.

Right, that's what I'm doing.

- Perrin

Reply via email to