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

One crude way of tackling this is to close STDOUT, and ignore the warnings. For instance, assuming the code you want to eval is in $code:
{ local *STDOUT; no warnings; eval $code; }

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:53 UTC
    I tried this and it had no effect.
    If you're interested in more detail, I've posted the screen output in a reply to a previous answer...

    Thanks for your help!

    Life is short, but it's wide -- Chuck Pyle