I have a perl script which writes other perl scripts.
Should I use normal File printing method or binmode to write these new Perl scripts?
open(FILE, ">test.pl");
print FILE qq|
#!/usr/bin/perl
blah blah blah
|;
close FILE;
Thanks for input.
Zeshan.
Should I use normal File printing method or binmode to write these new Perl scripts?
open(FILE, ">test.pl");
print FILE qq|
#!/usr/bin/perl
blah blah blah
|;
close FILE;
Thanks for input.
Zeshan.