[VPM] suppress STDERR

abez abez at abez.ca
Sat May 14 23:25:16 PDT 2005


perl -e '{local *STDERR;open(STDERR,">/dev/null"); warn "what";}warn huh'

That seemed to work.

abram

On Sat, 14 May 2005, Jeremy Aiyadurai wrote:

> 
> Hello all,
> 
> i am in the process of writing a module. How do I suppress all error 
> messages related to the the internal working of the module, with out 
> suppressing all std err messages.
> 
> eg. how do i suppress error messages for the module only?
> 
> Thanks in advance,
> 
> Jeremy A.
> 
> 
> _______________________________________________
> Victoria-pm mailing list
> Victoria-pm at pm.org
> http://mail.pm.org/mailman/listinfo/victoria-pm
> 

-- 
abez ------------------------------------------
http://www.abez.ca/ Abram Hindle (abez at abez.ca)
------------------------------------------ abez



More information about the Victoria-pm mailing list