NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Step One (Score:1)
A custom runloop plus a little optional B::Op magic would fix up step one nice. If you can't do it in ten lines of code, that's because making B::Op's blessing code reusable is a lot more work than it should be.
My Hero (Score:2)
You'd be my hero!
I remember programming in VisualWorks for Smalltalk in the 90's where we'd start coding by putting a halt in the source code and then just debug the program until it was done.
A starting point... (Score:2)
Merge code (Score:1)
Code::Splice. Cross your fingers, though.
Should work for closures. There's a fun bit of code in there that looks up the pad entries for variables in the source and target pads and changes the t_args to whatever the variable is named in the target. With the right t_arg and Perl providing the right pad for the closure, it should just kinda go.
Something that's been nagging me is how utterly cool d