Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: Redirect Pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 1401 of 1496
Post > Topic >>

Re: Redirect Print

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
 




 3 Posts in Topic:
Redirect Print
Khalid.Naji@[EMAIL PROTEC  2007-05-30 17:56:44 
Re: Redirect Print
sdavis2@[EMAIL PROTECTED]  2007-05-30 12:30:14 
Re: Redirect Print
mritty@[EMAIL PROTECTED]   2007-05-30 09:51:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 20:44:30 CST 2008.