open my $fh, ">$filename" # INSECURE CODE; do not use or die "Can't write to '$filename': $!\n";