in reply to Re: Creating a file by using perl
in thread Creating a file by using perl
my $outfile = "skillfile.il"; open FH, ">> $outfile"; print FH <<EOF; libName = "cmos28shp" tech_lib = "cmos28shp" EOF close FH;
N.B. Note that using ">>" to open skillfile appends data to it, so running the program twice will duplicate the data in the file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Creating a file by using perl
by freekngeek (Acolyte) on Mar 28, 2013 at 12:31 UTC | |
by space_monk (Chaplain) on Mar 28, 2013 at 13:42 UTC |