Guten Tag Kristis Makris,
am Montag, 8. November 2010 um 00:04 schrieben Sie:

>> I added following method to Trapper.pm
>> sub BINMODE {
>> }
>> 
>> 
>> I'm not sure whether that's the best thing to do but it prevents the 

> It probably is.

Shouldn't have the method code to do what Bugzilla originally wanted
to do? Else I would guess that encoding problems would appear in the
logged errors. In package Tie::StdHandle the internal function binmode
just seems to be called again:

sub BINMODE { binmode($_[0]) }

Maybe Trapper should just "use base 'Tie::StdHandle'" and can
concentrate on implementing PRINT as the only, really needed method?

http://perldoc.perl.org/5.12.0/Tie/StdHandle.html

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
 
Telefon: Potsdam: 0331-743881-0
E-Mail:  [email protected]
Web:     http://www.am-soft.de

AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to