in reply to Redirection and encoding, broken or WAD?
Maybe I don't understand what you are trying to do ... but why not use a different file handle? You might consider redirecting STDOUT by using select:
open (FOOFILE, ">>:encoding(cp37)") or die "Some error message: $!\n +"; select FOOFILE; print "yadda yadda\n"; close(FOOFILE); select STDOUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Redirection and encoding, broken or WAD?
by BillSeurer (Sexton) on Jan 05, 2006 at 20:52 UTC |