Perl attribute: length vs 0-byte termination