[Pdx-pm] Read only?

Kris Bosland krisb at ring.org
Sun Sep 17 16:41:25 PDT 2006


	I'll try it.

-Kris

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
>
>
> !DSPAM:450dd943184408485912807!
>
>



More information about the Pdx-pm-list mailing list