B-DeparseTree

 view release on metacpan or  search on metacpan

scripts/README.md  view on Meta::CPAN

# Standalone testing programs

Here we have some more standalone tests to assist in deparsing.

## frag.pl

`frag.pl` shows information about all B::DeparseTree nodes so you can check that the tree is build properly and what source-code fragments would be associated with each node.

If you pass an argument is it assumed to be a path to a Perl module
relative to this directory.  The default file is `bug.pm`. That module
is assumed to have a subroutine called "bug" which is then decompiled
after the module file. it is `required`.

To start you off, you can copy `bug-sample.pm` to `bug.pm` and modify from there.

## deparse.sh

A simple shell script that has Perl read in a Perl source program and then deparse it
Basically it has the knowledge of the funky Perl invocation you need to give it to
run the module `B::DeparseTree` as a compile backend script.



( run in 0.749 second using v1.01-cache-2.11-cpan-364913b4093 )