Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40210] [TODO] Provide a way for PGE's dump to go to string

4 views
Skip to first unread message

Will Coleda

unread,
Aug 21, 2006, 10:16:46 AM8/21/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Will Coleda
# Please include the string: [perl #40210]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40210 >


While the primary use of dump is for immediate debug output (and
therefore puts is ok), being able to get at the string it generates
is *very* useful for testing.

--
Will "Coke" Coleda
wi...@coleda.com


Patrick R. Michaud

unread,
Aug 22, 2006, 11:24:31 AM8/22/06
to perl6-i...@perl.org
On Mon, Aug 21, 2006 at 07:16:46AM -0700, Will Coleda wrote:
> While the primary use of dump is for immediate debug output (and
> therefore puts is ok), being able to get at the string it generates
> is *very* useful for testing.

I've refactored the existing 'dump' method into separate
'dump_str' and 'dump' methods in runtime/parrot/library/PGE/Dumper.pir.
Available as of r14306.

Thanks!

Pm

Patrick R. Michaud via RT

unread,
Aug 25, 2006, 5:03:28 PM8/25/06
to perl6-i...@perl.org
Done as dump_str() method to Match objects, r14306.

Thanks!

Pm

0 new messages