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
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