That is a rather complex set of modules. It seems that the documention is (as mentioned) still incomplete. But I thank you for the quick reply and I will play around with PPI for a while, to see if it fits my needs.
So, thank you, Anonymous Monk!
Besides that, my code is untested unless stated otherwise.
One more: please review the article about regular expressions (do's and don'ts) I'm working on.
In reply to Re^2: Extract subroutines from a Perl script. OR: "Only perl can parse Perl." But can it help me to do so?