in reply to Re^2: Perl5 Internal Representation of string variable
in thread Perl5 Internal Representation of string variable

Yes, indeed,
my $string = "asdf \x00 some more";
print $string;
does print past the asdf. So, a Perl string does know "how big it is".
  • Comment on Re^3: Perl5 Internal Representation of string variable