lib/ExtUtils/t/problems.t. This grabs a more recent copy from
ExtUtils::MakeMaker.
p4raw-id: //depot/perl@17790
$$self .= join('', @_);
}
+sub PRINTF {
+ my $self = shift;
+ my $fmt = shift;
+ $$self .= sprintf $fmt, @_;
+}
+
sub read {
my $self = shift;
- my $out = $$self;
- $$self = '';
- return $out;
+ return substr($$self, 0, length($$self), '');
}
1;