CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
suppress print statement in "do" call

 



aj2taylo
New User

Nov 8, 2004, 6:53 AM

Post #1 of 2 (1950 views)
     suppress print statement in "do" call  

I have a segment of code like:

do "some.cgi";

This obviously executes some.cgi, however I would like to do the following:

1) I wish to suppress whatever gets printed from some.cgi

2) Ideally, I'd like to do something like "$result = do "some.cgi"; ", but not sure if this is possible. Keep in mind, I don't want to do a system call, as there may be a large amount of tainted data I'll have to pass in at some point.

Any thoughts?

Thanks,

Andrew


KevinR
Veteran


Nov 8, 2004, 11:40 AM

Post #2 of 2 (1948 views)
     Re: [aj2taylo] suppress print statement in "do" call [In reply to]  

yes, a suggestions is don't cross post the same question across forums. This thread should be closed.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives