module-size -- Spit out estimated size of module code.
module-size Some::Module::Name [ Other::Module ]
Reports the process size after 'use'ing a module. If more than one module name is provided, the modules are included in order, allowing you to compare (for example) the incremental effect of adding other modules to an existing application.
Memory::Usage,
Copyright 2010 Dave O'Neill.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
To install Memory::Usage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Memory::Usage
CPAN shell
perl -MCPAN -e shell install Memory::Usage
For more information on module installation, please visit the detailed CPAN module installation guide.