in reply to Re: HELP!!!! VB code to PERL?
in thread HELP!!!! VB code to PERL?

I hope what you have here is a typo and not trying to teach a newbie a lesson about why not to copy code. You are clobbering the files while he wanted to open them to append. It's not a nice thing to loose data ...

So it should be:

open FILE, ">>c:/A$varpart.min" or die $!;
Note the '>>' instead of '>'.

-- Hofmator