in reply to How to write a sequence of files?

open (WRECORD, ">> $outFile") or warn "Cannot Write Record! - $!"; close (WRECORD);
You open that file for appending - and then close it immediately, without writing to it.

Replies are listed 'Best First'.
Re^2: How to write a sequence of files?
by kensaigm (Hermit) on Nov 08, 2007 at 18:31 UTC
    I have corrected it sorry about that.
    Before perlmonks.org: perl -e "print scalar(localtime);" After perlmonks.org : perl -e "use strict; use warnings; print scalar(localtime).\"\n\";"