I thought all strings in Perl end automatically with "\0"
Don’t confuse Perl with C here. Consider:
12:23 >perl -MData::Dump -wE "my $s = qq[foo\0bar]; dd $s; say length( +$s); say qq[|$s|];" "foo\0bar" 7 |foo bar| 12:23 >
If Perl used the null terminator for strings as C does, the above would print |foo|, not |foo bar|.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^3: ID3 tag version 2.4.0 Pack and Unpack (text encoding byte)
by Athanasius
in thread ID3 tag version 2.4.0 Pack and Unpack
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |