On 2011.3.31 10:00 AM, Michael Ludwig wrote:
>> Took me a moment to understand that. Would this cover your need?
>>
>> result_like shift @$results, {
>> ...
>> };
>
> That's very good! But does it mess with $history's results directly?
> Or does $history->result return a shallow copy of the results?
Right now it messes with the directly. That's ok since that history object is
allocated just for the capture() run.
>> If you like it, could I get you to document the concern and technique
>> in an EXAMPLES section?
>> https://github.com/schwern/test-more/blob/Test-Builder2/lib/Test/Builder2/Tester.pm
>
> Yes, you could. If you want me to commit directly, my github login is
> milu71. Else I can send you an email.
How a bout a fork and pull request please?
--
100. Claymore mines are not filled with yummy candy, and it is wrong
to tell new soldiers that they are.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/