Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
sub DESTROY { my $self =shift; local $@; if($self->{dir} and -d $self->{dir}) rmtree $self->{dir}; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to suppress warning from rmtree command
by blue_cowdawg (Monsignor) on Aug 19, 2011 at 15:30 UTC | |
by runrig (Abbot) on Aug 19, 2011 at 22:00 UTC | |
|
Re: how to suppress warning from rmtree command
by runrig (Abbot) on Aug 19, 2011 at 15:46 UTC |