On 12-02-08 05:20 PM, Parag Kalra wrote:
Do we have any Perl module which can parse any other perl script (or
module) and fetch information like total number of arrays being used, total
number of hashes, total number of scalar variables etc and size information
  (like total elements, total keys etc) for each data structure in that perl
script or may be another perl module

Thanks,
Parag


I haven't found a module to do exactly what you want, but B::Xref may do for a start:

    perl -MO=Xref myscript

See `perldoc B::Xref` for details.


--
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to