in reply to Way to predict Array Memory Size for returned LDAP Searches?

Unfortunately stringlength and bytecount are not the same. You can use Devel::Size for estimations on datastructure sizes.
The example shows "abcdef" take 31 bytes of memory.
$ perl -MDevel::Size+'total_size' -e 'print total_size "abcdef"' 31