Sep 14, 2010, 7:24 AM
Post #1 of 7
parse perl code? wanna get all variables from perl code
I have this program which needs to get variables defined in a piece of Perl code.
Given the complexity of Perl grammar, I found this really hard.
Does anyone know how to make this possible?
I want to read the source code of perl compiler which may give me some help, is lib/B/Deparse.pm wher I should get to start?
lots of thanks!