in reply to Perlscript is not generating output in files
ALWAYS CHECK THE RETURN VALUE OF SYSTEM CALLS SUCH AS open.
open( my $fh, '>', "bar" ) or die "Can't write to bar: $!\n"; [download]
The cake is a lie. The cake is a lie. The cake is a lie.