Devel::Size

Perl extension for finding the memory usage of Perl variables
Download

Devel::Size Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tels
  • Publisher web site:
  • http://search.cpan.org/~tels/

Devel::Size Tags


Devel::Size Description

Perl extension for finding the memory usage of Perl variables Devel::Size is a Perl module that figures out the real size of Perl variables in bytes, as accurately as possible.Call functions with a reference to the variable you want the size of. If the variable is a plain scalar it returns the size of this scalar. If the variable is a hash or an array, use a reference when calling.SYNOPSIS use Devel::Size qw(size total_size); my $size = size("A string"); my @foo = (1, 2, 3, 4, 5); my $other_size = size(@foo); my $foo = {a => , b => {a => } }; my $total_size = total_size($foo); Requirements: · Perl


Devel::Size Related Software