in reply to Pre-extend a file on Windows

kenth,

Did you compile your script in the 5.6 environment? This might have provided an insight into your problem.

(Where do I get such stories? It was first implemented in perl 5.6. I go away now...)

The three argument form of open did not exist in perl 5.6.

You'll need to change the line to read:
open(BIGFILE, "+>$filename") || die ("Could not create $filename.\n");

Also, you'll be using strictures and warnings, right?


Where do you want *them* to go today?