X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Size.pm;h=93472ef3b7aa0be3e6403f5638544e1bc9816d7a;hb=6a9ad7ec3939b34abe8422bd16196591d78ef98b;hp=77568947392096a1899394f4b612bc30766225c7;hpb=4ab42718926473a80fab54000ffbdb7fa22732e6;p=p5sagit%2FDevel-Size.git diff --git a/Size.pm b/Size.pm index 7756894..93472ef 100644 --- a/Size.pm +++ b/Size.pm @@ -16,7 +16,7 @@ require DynaLoader; # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK # will save memory. %EXPORT_TAGS = ( 'all' => [ qw( - size + size, total_size ) ] ); @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); @@ -24,7 +24,7 @@ require DynaLoader; @EXPORT = qw( ); -$VERSION = '0.03'; +$VERSION = '0.50'; bootstrap Devel::Size $VERSION; @@ -58,7 +58,8 @@ None by default. =head1 BUGS -Only does plain scalars, hashes, and arrays. No sizes for globs or code refs. Yet. +Doesn't currently walk all the bits for code refs, globs, formats, and +IO. Those throw a warning, but a minimum size for them is returned. Also, this module currently only returns the size used by the variable itself, I the contents of arrays or hashes, nor does it follow