in reply to Re^2: Why not perl have raw/native type
in thread Why not perl have raw/native type
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why not perl have raw/native type
by LanX (Saint) on Jan 09, 2020 at 16:59 UTC |