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 = @_;
> ...
> 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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to