Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: utf8 writing

by Monkomatic (Sexton)
on Feb 21, 2011 at 00:58 UTC ( [id://889280]=note: print w/replies, xml ) Need Help??


in reply to utf8 writing

I use IO::TEE for these kinds of things. Not sure of it will fix your problem though documents say nothing about utf8.

http://search.cpan.org/~kenshan/IO-Tee-0.64/Tee.pm

use IO::Tee; open my $ofh, '>>', 'LOGFILE.txt' or die "Cannot append to 'LOGFILE.tx +t':$!"; my $tee = IO::Tee->new(\*STDOUT, $ofh); # Prints to both file and stdo +ut #my $tee = IO::Tee->new(\*$ofh);Prints to file only print $tee "Opening $name";
Worth a shot. Hope it Helps. Very nice writeup on the previous reply that was a hell of alot of work.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://889280]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found