Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: utf8 writing

by Monkomatic (Sexton)
on Feb 21, 2011 at 00:58 UTC ( #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.


Comment on Re: utf8 writing
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-08-01 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (52 votes), past polls