by sdavis2@[EMAIL PROTECTED]
(Sean Davis)
May 30, 2007 at 12:30 PM
On Wednesday 30 May 2007 11:56, Naji, Khalid wrote:
> Hi,
>
> is there any way to mask a printing, when I call a Function using the
> Command "print" and without to modify this Function:
>
> Like:
>
> My ($Name) = &get_name(12345);
>
> Sub get_name
> {
> $id = @[EMAIL PROTECTED]
> ...
> Print "Blalalalalalalbla...\n";
> Return (Name);
> }
Printing will go to stdout, which is then sent to the browser. If you
don't
want that to go to the browser, you can print to STDERR and that will
typically end up in the error_log file for your server.
Sean