[Pdx-pm] Read only?
krisb at ring.org
Sun Sep 17 16:41:25 PDT 2006
I'll try it.
On Sun, 17 Sep 2006, chromatic wrote:
> On Sunday 17 September 2006 15:11, Kris Bosland wrote:
> > Yes, works on '-e' and on the debug command line, but not in my
> > wacky eval context. I just had a thought: deparse! How do I compile and
> > then deparse an eval string?
> Turn it into an anonymous subroutine, then use B::Deparse:
> my $deparse = B::Deparse->new();
> my $source = $deparse->coderef2text( $sub_ref );
> -- c
More information about the Pdx-pm-list