I've got a script that uses a module which dies and shouts at stderr during an error. I can catch these errors nicely with eval but I want to do something about what it spews at at stderr...basically print my own customised error. Editing the Perl module would be a quick fix but I'd rather not do that as I'll be deploying this code on different machines.

So, is there any way to silence stderr from within a perl script (no shell redirections to /dev/null please)?

Cheers,
Carlo

_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders

Reply via email to