in reply to How do I prevent unwanted print output from an eval? (RESOLVED! eval NOT THE PROBLEM!)

I don't quite understand what your question is, what you say in the title seems to have no direct connection to what you say in the post.

The "redirect" stuff, and the fact that you don't seem to know your error message seems to indicate that you have some sort of troubles with a CGI script.

If that's the case, you have about three possibilities to obtain the error message:

  1.  use CGI::Carp qw(fatalsToBrowser); at the start of your program
  2. Execute you script on the command line and watch for errors
  3. Look at your servers error log file.

Replies are listed 'Best First'.
Re^2: How do I prevent unwanted print output from an eval?
by duggles (Acolyte) on Aug 26, 2008 at 21:20 UTC
    Sorry about the misleading title. I guess my novice status is showing. The code is executing in a Windows cmd window via a perl (.pl) script. so... strictly speaking, I'm not on a server and I don't find any error messages.
    Life is short, but it's wide -- Chuck Pyle