> Why don't you trap the warning in an eval/$SIG{__WARN__} - I don't see why > you can't test for proper warnings, if that's what you were trying to do. I didn't know that. Now that I understood what you meant and read through the manual how to apply it, I see it's the perfect solution. Thank you very much Joseph