On 11/5/06, Tommy Nordgren <[EMAIL PROTECTED]> wrote:

What's wrong with this script for removing the CVS directories from a
checked-out CVS workspace?

I don't know. What do you think is wrong with it? Does it do something
wrong? Does stepping through it with the debugger give you any clues?

        opendir($dir,$path);

There's no check for success; opendir should use "or die" much as open does.

Other people may find other errors. Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to