Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ANNOUNCE: IO::Capture::Stdout::Extended 0.03
- Jim Keenan
March 2, 2005, 9:01 am
rate this thread
IO::Capture::Stdout::Extended has been uploaded to CPAN. From the
IO::Capture::Stdout::Extended - Extend functionality of IO::Capture::Stdout
$capture = IO::Capture::Stdout::Extended->new();
# some code that prints to STDOUT
# scalar context: return number of print statements with 'fox'
$matches = $capture->grep_print_statements('fox');
# list context: return list of print statements with 'fox'
@matches = $capture->grep_print_statements('fox');
# return number of print statements
$matches = $capture->statements;
# scalar context: return number of pattern matches
$regex = qr/some regular expression/;
$matches = $capture->matches($regex);
# list context: return list of pattern matches
@matches = $capture->matches($regex);
# return reference to array holding list of pattern matches
$matchesref = $capture->matches_ref($regex);
IO::Capture::Stdout::Extended is a collection of subroutines which
may be useful in extending the functionality of CPAN module
IO::Capture::Stdout, particularly when used in a testing context
such as that provided by Test::Simple, Test::More or other modules
built on Test::Builder.
Send comments to jkeenan [at] cpan [dot] org. Thanks.
Re: ANNOUNCE: IO::Capture::Stdout::Extended 0.03
I was there. When they found out that this black steamroller was
going to come down on the capital, they called in Wilkins; they called
in Randolph; they called in these national Negro leaders that you
respect and told them, "Call it off." Kennedy said, "Look, you all
letting this thing go too far." And Old Tom said, "Boss, I can't stop
it, because I didn't start it." I'm telling you what they said. They
said, "I'm not even in it, much less at the head of it." They said,
"These Negroes are doing things on their own. They're running ahead of
us." And that old shrewd fox, he said, "Well If you all aren't in it,
I'll put you in it. I'll put you at the head of it. I'll endorse it.
I'll welcome it. I'll help it. I'll join it."
A matter of hours went by. They had a meeting at the Carlyle Hotel in
New York City. The Carlyle Hotel is owned by the Kennedy family; that's
the hotel Kennedy spent the night at, two nights ago; [it] belongs to
his family. A philanthropic society headed by a white man named Stephen
Currier called all the top civil-rights leaders together at the Carlyle
Hotel. And he told them that, "By you all fighting each other, you are
destroying the civil-rights movement. And since you're fighting over
money from white liberals, let us set up what is known as the Council
for United Civil Rights Leadership. Let's form this council, and all the
civil-rights organizations will belong to it, and we'll use it for
fund-raising purposes." Let me show you how tricky the white man is. And
as soon as they got it formed, they elected Whitney Young as the
chairman, and who [do] you think became the co-chairman? Stephen
Currier, the white man, a millionaire. Powell was talking about it down
at the Cobo [Hall] today. This is what he was talking about. Powell
knows it happened. Randolph knows it happened. Wilkins knows it
happened. King knows it happened. Everyone of that so-called Big Six --
they know what happened.