in reply to
Re: Creating a file by using perl
in thread Creating a file by using perl
My preferred method is to use heredoc style so there is only one print statement and your quotes can remain "natural"....
my $outfile = "skillfile.il";
open FH, ">> $outfile";
print FH <<EOF;
libName = "cmos28shp"
tech_lib = "cmos28shp"
N.B. Note that using ">>" to open skillfile appends data to it, so running the program twice will duplicate the data in the file.
A Monk aims to give answers to those who have none, and to learn from those who know more.