Unicode might make the much harder. Update: did not think of "\n" and "\t". Thanks Zaxosub is_not_string { my $a = shift; my $packed; for (split(//,$a)) { $packed = 1 if (ord($_) == 0); $packed = 1 if (ord($_) > 127); } return $packed; }
In reply to Re: Detecting packed data
by gam3
in thread Detecting packed data
by vx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |