Code::PerlCode::Perl is a Perl module to produce Perl code from a tree. | |
Download |
Code::Perl Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Fergal Daly
- Publisher web site:
- http://search.cpan.org/~fdaly/Test-NoWarnings-0.084/lib/Test/NoWarnings.pm
Code::Perl Tags
Code::Perl Description
Code::Perl is a Perl module to produce Perl code from a tree. Code::Perl is a Perl module to produce Perl code from a tree.SYNOPSIS use Code::Perl::Expr qw( :easy ); my $c = derefh(scal('hash'), calls('getkey')); print $c->perl; # ($hash)->{getkey()}Code::Perl allows you to build chunks of Perl code as a tree and then when you're finished building, the tree can output the Perl code. This is useful if you have built your own mini-language and you want to generate Perl from it. Rather than generating the Perl at parse time and having to worry about quoting, escaping, parenthese etc, you can just build a tree using Code::Perl and then dump out the correct Perl at the end. Requirements: · Perl
Code::Perl Related Software