in reply to database query with POE::Wheel::Run

Try Program => [ $program ].

POE::Wheel::Run tries to preserve Perl's exec() semantics. So if Program is an arrayref, it's executed as exec(@$program). This bypasses the the shell -c (which is actually supplied by Perl's exec()).

This is documented under the Program parameter in POE::Wheel::Run.

I hope this helps.

Replies are listed 'Best First'.
Re^2: database query with POE::Wheel::Run
by finidi20 (Initiate) on Oct 08, 2013 at 00:51 UTC
    Hi I would like to see ur program that prints the result set to STDOUT if the results are different, do u still have it? Thanx

      Sorry, I haven't logged in for years, so I missed this question. I don't recall the code in question, and I expect I'm too late anyway.

      It may be another three years until I log back in. Please contact me directly if you need a response sooner.