[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Gloabl sub only working with debug on?
On Mon, 28 Jun 1999 mikeh@minivend.com wrote:
> ****** message to minivend-users from mikeh@minivend.com ******
>
> Quoting Nicholas Albright (albrnick@bobcat.ent.ohiou.edu):
> >
> >
> > I am having a probelm with getting the output of a open3 command. I
> > seem to only actually get the output when minivend is run in it's debug
> > mode. I append many different things to $output as I go through the sub,
> > to check that I'm doing what I'm thinking I'm doing. But when minivend is
> > run normally, I only get the output from my check assignments. I never
> > seem to get the output of my open3 program. This program works as a stand
> > alone perl program.
>
> You might read the caveats and warnings that abound in IPC::Open3.
> Since MV closes STDOUT and STDERR in forking mode.....
Ahh..! Thanks! That would explain it. :) My problem is that I don't
want to e-mail the result, but rather encrypt some data before I insert it
into the database, and decrypt it on the way out.
Any other suggestions?
-Nick "Thanks for the response!" Albright
--
"Anyone who can only think of one way to spell a word obviously
lacks imagination."
-- Mark Twain