> Incidentally, the $r->print() method conveniently lets you pass the string
> you want to send by reference.

Why is that "convenient":

Fast:
        my $x = "fred" x 10000;
        $r->print $x;

More obscure and microscopicaly slower:
        my $x = "fred" x 10000;
        $r->print \$x;

(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.  Personaly I don't think this was a good idea.  If that's
what the user wanted he could have done it himself).

-- 
John Hughes <[EMAIL PROTECTED]>, 
        CalvaEDI SA.                            Tel: +33-1-4313-3131
        66 rue du Moulin de la Pointe,          Fax: +33-1-4313-3139
        75013 PARIS.

Reply via email to