I have a module for building Perl expression as a tree which can then be 
dumped out as Perl eg.

my $tree = trav(hash("key"), array(10), method("getName", hash('other')));
print "perl: ".$tree->perl('$var')."\n";

perl: $var->{"key"}->[10]->getName($var->{"other"})

It's currently part of (yet another) template system but I'd like to split it 
out. I was thinking something like Code::Builder::Expression or 
Code::Perl::Expression or Code::Builder::Perl::Expression.

Are there already modules for doing this out there? I couldn't see them on 
CPAN,

F

Reply via email to