It's pure Perl (only your last example is) and it's the start of a clean, OO method of walking through Perl's structs. Frankly, I can't think of any reason I would use this (Ingy needed a pure Perl method of determining if a scalar contained an integer or a string), but it's fun (to me).
As for portability, Ingy admits that this is alpha code, but he's using Config to try to make it as portable as possible.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re: Re: Pure Perl Internals (with Pure Perl Segfaults)
by Ovid
in thread Pure Perl Internals (with Pure Perl Segfaults)
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |