Well, there's going to be quite a number of p6 features (as I understand them) for what you want to do.
First off, let me qualm your major fear: perl6 is going to be at least as, and possibly quite a bit more, introspective as perl5. Symbol tables aren't going away, though they are changing a bit -- globs are going away, and the sigil will be stored in the symbol table, which is just a highly magical hash. New to perl6 is the $MY:: and $CALLER:: magic packages, which are like the symbol tables, but for lexical variables, in your and your caller's scopes. (Exactly what they're called and the semantics of $CALLER:: seem to vary depending on the phase of the moon, who'se talking, and what Larry had for breakfast.)
Also, all objects, including PMCs, will be able to (and most probably will) define a serilization method. Data::Dumper could use this.
Objects implemented in Perl, while not exactly hashes anymore, will be fully iteratable and serializable... I think.
Objects implemented as PMC (Parrot Magic Cookies) will likely not be iteratable, but will be serializable, if sensable. This isn't anything new, really -- objects implemented in XS can't be iterated over in perl5.
In reply to Re: Make sure Perl 6 is introspective enough
by theorbtwo
in thread Make sure Perl 6 is introspective enough
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |