Actually, all informations are available at compile time ...
Divining that information is the topic of Escape Analysis, and its far from trivial to find what values will remain local to a subroutine in the general case.
If you want to put more restrictions on the "native" type, maybe you can make this easier, but that amounts to basically having a second set of data types that are not interoperable with the rest of Perl.
In reply to Re^3: Why not perl have raw/native type
by Corion
in thread Why not perl have raw/native type
by xiaoyafeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |