There is a problem with using unpack '(A)*':
[0] Perl> $buf = "abcdef\x00ghik";; [0] Perl> @a = unpack '(A)*', $buf;; [0] Perl> print length for @a;; 1 1 1 1 1 1 0 1 1 1 1
In reply to Re^2: Convert string to array - performance challenge
by BrowserUk
in thread Convert string to array - performance challenge
by rtillian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |