- For "perl" to be able to parse "my Str $x", the package "Str" must be
- defined somewhere, and this even if you use the 'as' option to redirect
- to another package. It's unlikely to find a workaround, as this happens
- deep inside the lexer, far from the reach of an extension.
+ For "perl" to be able to parse "my Str $x", you need :
+
+ * either the "Str" package to be defined ;
+
+ * or for "Str" to be a constant sub returning a valid defined package.
+
+ Those restrictions apply even if you use the 'as' option to redirect to
+ another package, and are unlikely to find a workaround as this happens
+ deep inside the lexer - far from the reach of an extension.