Thursday January 30, 2003
09:01 AM
Devel::Hints
Autrijus Tang has just uploaded
Devel::Hints on CPAN. I was about to code this module myself, but Autrijus did a better job (and obviously he did it faster.) I was going to use Inline::C instead of XS,
and I didn't thought about adding an optional call stack level parameter to the
cop_* functions. (More on that topic in the next P5P summary.)
A neat hammer... (Score:3)
--
xoa
Reply to This
Re:A neat hammer... (Score:3, Insightful)
sub open (*;@) {
#
my $ret = CORE::open($fh, $mode, $file) or return 0;
#
my $binmode = Devel::Hints::cop_io(1);
$binmode = (split(/\x00/, $binmode))[($mode =~
binmode($fh, $binmode) if