process which isn't a subprocess of the current process. While this is
fine from VMS' perspective, it's probably not what you intended.
+=item P must have an explicit size
+
+(F) The unpack format P must have an explicit size, not "*".
+
=item POSIX syntax [%s] belongs inside character classes in regex;
marked by <-- HERE in m/%s/
}
break;
case 'P':
+ if (star)
+ DIE(aTHX_ "P must have an explicit size");
EXTEND(SP, 1);
if (sizeof(char*) > strend - s)
break;
#!./perl -w
-print "1..614\n";
+print "1..615\n";
BEGIN {
chdir 't' if -d 't';
$s eq "ABCABCABCABCABCABCABCABCABCABC" &
$y == 42);
}
+
+{
+ # 615
+
+ # from Wolfgang Laun:Lfix in change #13288
+
+ eval { unpack("P*", "abc") };
+ ok($@ =~ /P must have an explicit size/);
+}