|Perl Monk, Perl Meditation|
Re^4: Why does Perl have typeglobs? (pads)by LanX (Archbishop)
|on Jul 10, 2014 at 22:18 UTC||Need Help??|
> 3) a hash by "$sigil.$name" (where the values are of various types)
which is what padwalker returns in a hash.
> but that might not be the best choice in C (and we don't have a complete set of sigils).
I wasn't sure about the pad (thats why I said "at least").
Actually pads are organized more or less like AoA with the first sub-array holding the Sigil+Name keys for each "column". (recursive functions have a row for each recursion, reference Panther book)
But I don't see why changing the first AV with the "sigiled" keys to a HV with indexes to the value AVs shouldt be a problem in C.
> Where did you read the word "need"?
Implicitly. It's an interpretation of how you replied.
You may have meant it differently, but others may not, hence the correction.
(addicted to the Perl Programming Language)