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.
In reply to Re^2: Creating a file by using perl
by space_monk
in thread Creating a file by using perl
by freekngeek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |