in reply to Re^2: here-docs vs quote operators
in thread here-docs vs quote operators

From Perl Hacks:

my $deparse = B::Deparse->new(); print $deparse->coderef2text( $anonysub );

Replies are listed 'Best First'.
Re^4: here-docs vs quote operators
by demerphq (Chancellor) on Feb 17, 2006 at 10:26 UTC

    Of course this and the Data::Dumper wrapper around this interface won't handle closures properly. (You know this I'm sure, but not everybody else does. :-) Which is why using Data::Dump::Streamer is IMO preferable.

    ---
    $world=~s/war/peace/g