paramjit has asked for the wisdom of the Perl Monks concerning the following question:
This will create file with utf 8 encoding but i want to open file in append mode thanksopen(DA,">:encoding(UTF-8)","$file") || print "Can't Open File. Try ch +mod 777 citydata directory<br><br>"; print DA $data; close(DA);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File in perl
by Anonymous Monk on Jul 01, 2011 at 06:56 UTC | |
by AnomalousMonk (Archbishop) on Jul 01, 2011 at 11:51 UTC |