[Pdx-pm] deparse question
Kris Bosland
krisb at ring.org
Mon Aug 8 17:47:56 PDT 2005
On Mon, 8 Aug 2005, Ovid wrote:
> --- Kris Bosland <krisb at ring.org> wrote:
> > Can I
> > send a CODE to B::Deparse, instead of the whole program?
>
> Yes. I do this frequently. See "USING B::Deparse AS A MODULE" in
> "perldoc B::Deparse"
>
> use B::Deparse;
> my $deparse = B::Deparse->new("-p", "-sC");
> print $deparse->coderef2text(\&func);
>
> Cheers,
> Ovid
Thanks!
2nd place speed award goes to chromatic. Thanks.
-Kris
More information about the Pdx-pm-list
mailing list