Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Devel::Size qw(size total_size);
    ...
    print "Double: ", size(\$double), ", ", total_size(\$double), "\n";
    print "Array:  ", size(\@array), ", ", total_size(\@array), "\n";
    print "Matrix: ", size(\@matrix), ", ", total_size(\@matrix), "\n";
    
  2. or download this
    Double: 24, 24
    Array:  168, 408
    Matrix: 168, 4488