于 2012-2-9 15:21, Parag Kalra 写道:
By data-structures being used, I mean the data structures that are actually *declared* in the script.

And is it possible to find at least the data-structures stats of the current script that is getting executed if no parser is available.

For example if I have a big script or module and if I want to find total arrays, hashes and variables declared in that script. Is there any special variable where this info is stored.

I'm not sure, but you may take a look at this module:
http://search.cpan.org/~flora/perl-5.14.2/ext/Devel-Peek/Peek.pm <http://search.cpan.org/%7Eflora/perl-5.14.2/ext/Devel-Peek/Peek.pm>

HTH.

Reply via email to